更新 yaml 文件,以因應kubernetes 和Helm 現行版本 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在 Kubernetes 升級到 v1.31 後,yaml有一些變動如下:
deployment kind 的 yml 不再支援 apiVersion: extension/v1beta1,直接改為 apps/v1。
ingress kind 的 yml,在 apiVersion 有所調整,extension/v1beta1 -> networking.k8s.io/v1,還有一些rule設定上的相應調整。
在 Helm 升級到 v3.* 後,移除了Tiller,不再記錄release,指令有以下調整:
第一次安裝後不再需要 helm init 指令來初始化 Tiller
helm delete RELEASE_NAME 有被保留,但移除了 --purge 參數
新的指令用於移除 released k8s, helm uninstall RELEASE_NAME