kops update cluster

1 개요[ | ]

kops update cluster
testuser@localhost:~$ kops update cluster
I0922 19:32:45.042617    8271 executor.go:103] Tasks: 0 done / 83 total; 42 can run
I0922 19:32:45.819973    8271 executor.go:103] Tasks: 42 done / 83 total; 23 can run
I0922 19:32:46.451042    8271 executor.go:103] Tasks: 65 done / 83 total; 16 can run
I0922 19:32:46.789870    8271 executor.go:103] Tasks: 81 done / 83 total; 2 can run
I0922 19:32:46.872518    8271 executor.go:103] Tasks: 83 done / 83 total; 0 can run
Will modify resources:
  LaunchConfiguration/master-ap-northeast-2c.masters.c1.example.com
  	ImageID             	 ami-09283bfd62a57c459 -> kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-08-16
  	UserData            
  	                    	...
  	                    	    etcdServersOverrides:
  	                    	    - /events#http://127.0.0.1:4002
  	                    	+   image: k8s.gcr.io/kube-apiserver:v1.12.10
  	                    	-   image: k8s.gcr.io/kube-apiserver:v1.12.1
  	                    	    insecureBindAddress: 127.0.0.1
  	                    	    insecurePort: 8080
  	                    	...
  	                    	    clusterName: c1.example.com
  	                    	    configureCloudRoutes: true
  	                    	+   image: k8s.gcr.io/kube-controller-manager:v1.12.10
  	                    	-   image: k8s.gcr.io/kube-controller-manager:v1.12.1
  	                    	    leaderElection:
  	                    	      leaderElect: true
  	                    	...
  	                    	    cpuRequest: 100m
  	                    	    hostnameOverride: '@aws'
  	                    	+   image: k8s.gcr.io/kube-proxy:v1.12.10
  	                    	-   image: k8s.gcr.io/kube-proxy:v1.12.1
  	                    	    logLevel: 2
  	                    	  kubeScheduler:
  	                    	+   image: k8s.gcr.io/kube-scheduler:v1.12.10
  	                    	-   image: k8s.gcr.io/kube-scheduler:v1.12.1
  	                    	    leaderElection:
  	                    	      leaderElect: true
  	                    	...
  	                    	  cat > kube_env.yaml << '__EOF_KUBE_ENV'
  	                    	  Assets:
  	                    	+ - d3053aecdbf5da2d60cf18a5cb87fc2c454950c0@https://storage.googleapis.com/kubernetes-release/release/v1.12.10/bin/linux/amd64/kubelet
  	                    	- - 04d10b8c9cb0379e974afa9942391fe32e97e18b@https://storage.googleapis.com/kubernetes-release/release/v1.12.1/bin/linux/amd64/kubelet
  	                    	+ - cc3606e6bcc65c685772f5491f5bd1bb53a55416@https://storage.googleapis.com/kubernetes-release/release/v1.12.10/bin/linux/amd64/kubectl
  	                    	- - 2135356e8e205816829f612062e1b5b4e1c81a17@https://storage.googleapis.com/kubernetes-release/release/v1.12.1/bin/linux/amd64/kubectl
  	                    	  - 52e9d2de8a5f927307d9397308735658ee44ab8d@https://storage.googleapis.com/kubernetes-release/network-plugins/cni-plugins-amd64-v0.7.5.tgz
  	                    	  - ad4085c05ff02c241a38ff0033d76c699316f298@https://github.com/kubernetes/kops/releases/download/1.12.1/linux-amd64-utils.tar.gz,https://kubeupv2.s3.amazonaws.com/kops/1.12.1/linux/amd64/utils.tar.gz
  	                    	...
  	                    	

  LaunchConfiguration/nodes.c1.example.com
  	ImageID             	 ami-09283bfd62a57c459 -> kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-08-16
  	UserData            
  	                    	...
  	                    	    cpuRequest: 100m
  	                    	    hostnameOverride: '@aws'
  	                    	+   image: k8s.gcr.io/kube-proxy:v1.12.10
  	                    	-   image: k8s.gcr.io/kube-proxy:v1.12.1
  	                    	    logLevel: 2
  	                    	  kubelet:
  	                    	...
  	                    	  cat > kube_env.yaml << '__EOF_KUBE_ENV'
  	                    	  Assets:
  	                    	+ - d3053aecdbf5da2d60cf18a5cb87fc2c454950c0@https://storage.googleapis.com/kubernetes-release/release/v1.12.10/bin/linux/amd64/kubelet
  	                    	- - 04d10b8c9cb0379e974afa9942391fe32e97e18b@https://storage.googleapis.com/kubernetes-release/release/v1.12.1/bin/linux/amd64/kubelet
  	                    	+ - cc3606e6bcc65c685772f5491f5bd1bb53a55416@https://storage.googleapis.com/kubernetes-release/release/v1.12.10/bin/linux/amd64/kubectl
  	                    	- - 2135356e8e205816829f612062e1b5b4e1c81a17@https://storage.googleapis.com/kubernetes-release/release/v1.12.1/bin/linux/amd64/kubectl
  	                    	  - 52e9d2de8a5f927307d9397308735658ee44ab8d@https://storage.googleapis.com/kubernetes-release/network-plugins/cni-plugins-amd64-v0.7.5.tgz
  	                    	  - ad4085c05ff02c241a38ff0033d76c699316f298@https://github.com/kubernetes/kops/releases/download/1.12.1/linux-amd64-utils.tar.gz,https://kubeupv2.s3.amazonaws.com/kops/1.12.1/linux/amd64/utils.tar.gz
  	                    	...
  	                    	

Must specify --yes to apply changes
testuser@localhost:~$ kops update cluster --yes
I0922 19:35:55.709569    8299 executor.go:103] Tasks: 0 done / 83 total; 42 can run
I0922 19:35:56.468347    8299 executor.go:103] Tasks: 42 done / 83 total; 23 can run
I0922 19:35:57.074539    8299 executor.go:103] Tasks: 65 done / 83 total; 16 can run
I0922 19:35:57.858932    8299 executor.go:103] Tasks: 81 done / 83 total; 2 can run
I0922 19:35:58.077272    8299 executor.go:103] Tasks: 83 done / 83 total; 0 can run
I0922 19:35:58.077309    8299 dns.go:153] Pre-creating DNS records
I0922 19:35:58.826762    8299 update_cluster.go:291] Exporting kubecfg for cluster
kops has set your kubectl context to c1.example.com

Cluster changes have been applied to the cloud.


Changes may require instances to restart: kops rolling-update cluster

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}