mirror of https://github.com/kubernetes/kops.git
Merge pull request #8248 from hakman/fix-old-k8s
Fix issues with older versions of k8s for basic clusters
This commit is contained in:
commit
b926413cad
|
@ -6,6 +6,8 @@
|
|||
|
||||
* Terraform users on AWS may need to rename some resources in their state file in order to prepare for Terraform 0.12 support. See Required Actions below.
|
||||
|
||||
* Kubernetes 1.9 users will need to enable the PodPriority feature gate. See Required Actions below.
|
||||
|
||||
* A controller is now used to apply labels to nodes. If you are not using AWS, GCE or OpenStack your (non-master) nodes may not have labels applied correctly.
|
||||
|
||||
* Please see the notes in the 1.15 release about the apiGroup changing from kops to kops.k8s.io
|
||||
|
@ -34,6 +36,18 @@
|
|||
terraform apply
|
||||
```
|
||||
|
||||
* Kubernetes 1.9 users will need to enable the PodPriority feature gate. This is required for newer versions of Kops.
|
||||
|
||||
To enable the Pod priority feature, follow these steps:
|
||||
```
|
||||
kops edit cluster
|
||||
# Add the following section
|
||||
spec:
|
||||
kubelet:
|
||||
featureGates:
|
||||
PodPriority: "true"
|
||||
```
|
||||
|
||||
* If a custom Kops build was used on a cluster, a kops-controller Deployment may have been created that should get deleted.
|
||||
Run `kubectl -n kube-system delete deployment kops-controller` after upgrading to Kops 1.16.0-beta.1 or later.
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# limitations under the License.
|
||||
|
||||
{{- if or (.KubeDNS.UpstreamNameservers) (.KubeDNS.StubDomains) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
@ -28,9 +27,9 @@ data:
|
|||
stubDomains: |
|
||||
{{ ToJSON .KubeDNS.StubDomains }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
---
|
||||
{{- end }}
|
||||
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
|
|
Loading…
Reference in New Issue