File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -164,3 +164,32 @@ $ kubectl create -f ./kubernetes/vue-service.yml
164164```
165165
166166Try it out at [ http://hello.world/ ] ( http://hello.world/ ) .
167+
168+ ## Upgrading Kubernetes versions
169+
170+ The original project was built using Kubernetes 1.13.
171+ Some of the API's have been deprecated and do not work with version 1.16.
172+
173+ ` kubectl ` can be used to convert. E.g.:
174+
175+ ``` sh
176+ kubectl convert -f ./kubernetes/flask-deployment.yml.yml --output-version apps/v1
177+ ```
178+
179+ For example, the ` flask-deployment.yml ` went from:
180+
181+ ``` yaml
182+ apiVersion : extensions/v1beta1
183+ kind : Deployment
184+ ...
185+ ```
186+
187+ to:
188+
189+ ``` yaml
190+ apiVersion : apps/v1
191+ kind : Deployment
192+ ...
193+ ```
194+
195+ A number of new default values are added in the conversion too.
You can’t perform that action at this time.
0 commit comments