查看集群维护情况 (已发生)
gcloud container operations list --project main-prod-e0f3382 --region asia-east2
维护通知 (未发生)
https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-upgrade-notifications
查看集群维护情况 (已发生)
gcloud container operations list --project main-prod-e0f3382 --region asia-east2
维护通知 (未发生)
https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-upgrade-notifications
configmap
kube-system/nginx-ingress-controller
server {
listen 80;
server_name jpuyy.com;
#...
location / {
proxy_pass https://jpuyy.com;
#proxy_ssl_certificate /etc/nginx/client.pem;
#proxy_ssl_certificate_key /etc/nginx/client.key;
#proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#proxy_ssl_ciphers HIGH:!aNULL:!MD5;
proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
proxy_ssl_verify on;
proxy_ssl_verify_depth 2;
proxy_ssl_session_reuse on;
}
}
Usage: docker service COMMAND Manage services Commands: create Create a new service inspect Display detailed information on one or more services logs Fetch the logs of a service or task ls List services ps List the tasks of one or more services rm Remove one or more services rollback Revert changes to a service's configuration scale Scale one or multiple replicated services update Update a service Run 'docker service COMMAND --help' for more information on a command.
docker service ls
docker service logs infra_service1
sudo docker stop samba sudo docker rm samba sudo docker run -it --name samba -v /data/4t/share:/mount -p 139:139 -p 445:445 -d dperson/samba -p \ -s "public;/mount"
之后使用客户端使用 guest 用户登录
Warning FailedKillPod 34s (x396 over 26h) kubelet error killing pod: [failed to "KillContainer" for "fluentd" with KillContainerError: "rpc error: code = Unknown desc = operation timeout: context deadline exceeded", failed to "KillPodSandbox" for "bd1bd397-b8fe-4118-8149-869e18ac4034" with KillPodSandboxError: "rpc error: code = DeadlineExceeded desc = context deadline exceeded"]