Comments (2)
Cordon function needed to have sleep between retries in case the kubernetes api wasn't ready yet after deployment
from rke.
Tested with rke version v0.0.4-dev.
Created a Kubernetes cluster with version rancher/k8s:v1.8.2-rancher5.
Created pods and then upgraded to version rancher/k8s:v1.8.3-rancher2
Upgrade was successful . All the kubernetes components upgraded to version rancher/k8s:v1.8.3-rancher2. Creation of new pods was ok. Dashboard launched successfully.
soumyas-MBP:rke soumya$ ./rke_darwin-amd64 cluster upgrade --cluster-file clusterdigworking.yml
INFO[0000] Upgrading Kubernetes cluster
INFO[0000] [state] Found local kube config file, trying to get state from cluster
INFO[0000] [state] Fetching cluster state from Kubernetes
INFO[0000] [state] Successfully Fetched cluster state to Kubernetes ConfigMap: cluster-state
INFO[0000] [certificates] Getting Cluster certificates from Kubernetes
INFO[0001] [certificates] Successfully fetched Cluster certificates from Kubernetes
INFO[0001] [ssh] Checking private key
INFO[0001] [ssh] Start tunnel for host [soumyarketest1]
INFO[0001] [ssh] Start tunnel for host [soumyarketest1]
INFO[0001] [ssh] Start tunnel for host [soumyarketest3]
INFO[0001] [ssh] Start tunnel for host [soumyarketes2]
INFO[0001] [upgrade] All nodes are Ready
INFO[0001] [upgrade] Upgrading Control Plane Services
INFO[0001] [controlplane] Upgrading the Controller Plane..
INFO[0003] [controlplane] Successfully pulled kube-api image on host [soumyarketest1]
INFO[0004] [controlplane] Successfully started kube-api container on host [soumyarketest1]
INFO[0005] [controlplane] Successfully pulled kube-controller image on host [soumyarketest1]
INFO[0005] [controlplane] Successfully started kube-controller container on host [soumyarketest1]
INFO[0006] [controlplane] Successfully pulled scheduler image on host [soumyarketest1]
INFO[0007] [controlplane] Successfully started scheduler container on host [soumyarketest1]
INFO[0009] [controlplane] Successfully pulled kube-api image on host [soumyarketest3]
INFO[0009] [controlplane] Successfully started kube-api container on host [soumyarketest3]
INFO[0010] [controlplane] Successfully pulled kube-controller image on host [soumyarketest3]
INFO[0011] [controlplane] Successfully started kube-controller container on host [soumyarketest3]
INFO[0012] [controlplane] Successfully pulled scheduler image on host [soumyarketest3]
INFO[0012] [controlplane] Successfully started scheduler container on host [soumyarketest3]
INFO[0013] [controlplane] Successfully upgraded Controller Plane..
INFO[0013] [upgrade] Control Plane Services updgraded successfully
INFO[0013] [upgrade] Upgrading Worker Plane Services
INFO[0013] [worker] Upgrading Worker Plane..
INFO[0014] [worker] Successfully pulled kubelet image on host [soumyarketest1]
INFO[0015] [worker] Successfully started kubelet container on host [soumyarketest1]
INFO[0016] [worker] Successfully pulled kube-proxy image on host [soumyarketest1]
INFO[0016] [worker] Successfully started kube-proxy container on host [soumyarketest1]
INFO[0018] [worker] Successfully pulled kubelet image on host [soumyarketest3]
INFO[0018] [worker] Successfully started kubelet container on host [soumyarketest3]
INFO[0020] [worker] Successfully pulled kube-proxy image on host [soumyarketest3]
INFO[0020] [worker] Successfully started kube-proxy container on host [soumyarketest3]
INFO[0023] [worker] Successfully pulled kubelet image on host [soumyarketes2]
INFO[0023] [worker] Successfully started kubelet container on host [soumyarketes2]
INFO[0024] [worker] Successfully pulled kube-proxy image on host [soumyarketes2]
INFO[0025] [worker] Successfully started kube-proxy container on host [soumyarketes2]
INFO[0025] [worker] Successfully upgraded Worker Plane..
INFO[0025] [upgrade] Worker Plane Services updgraded successfully
INFO[0025] [certificates] Save kubernetes certificates as secrets
INFO[0046] [certificates] Successfuly saved certificates as kubernetes secret [k8s-certs]
INFO[0046] [state] Saving cluster state to Kubernetes
INFO[0046] [state] Successfully Saved cluster state to Kubernetes ConfigMap: cluster-state
INFO[0046] Cluster upgraded successfully
from rke.
Related Issues (20)
- with latest kernel version the worker node DNS is not working HOT 2
- RKE restarting masters/workers after adding a new worker or master
- [Question] About ciphers
- Calico versions and other CNI version info? Where? HOT 8
- Metrics: unreachable kubernetes API (no logs) HOT 1
- How to restart apiserver
- Cluster unrecoverable after every power outage - nodes all say ready (even when off) HOT 2
- RKE should have a dry-run option HOT 3
- Errors while removing an etcd member can cause RKE to try to remove the member indefinitely HOT 2
- don't use dns search of the host HOT 1
- FATA[0000] Unsupported Docker version found [26.1.1] on host HOT 4
- Rke with docker rootless HOT 1
- Provisionning fails with RKE 1.5.9 when `extra_env` is used for `kube-api` service HOT 5
- Clarification on using hostNetwork: true in nginx ingress HOT 1
- miss makezero in slice init HOT 1
- [Backport] Provisionning fails with RKE 1.5.9 when extra_env is used for kube-api service HOT 3
- RKE1: Ingress Controller and Ingress not working
- masters not available via SSH - how to moved them into new hosts? HOT 1
- Failed to reconcile etcd plane: Failed to add etcd member [etcd-server-k8s-2] to etcd cluster
- worker node label lost after node reboot [v1.5.10]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rke.