Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Support multi kubernetes version #7

Open
yuanying opened this issue Sep 29, 2017 · 0 comments
Open

Support multi kubernetes version #7

yuanying opened this issue Sep 29, 2017 · 0 comments

Comments

@yuanying
Copy link
Contributor

To check k8s version on deploying time and set valid configuration.

For example, k8s 1.6 and 1.7 supports different admission controls.
So we should set admission controls correctly for each versions.

defaultv16AdmissionControl = "NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,ResourceQuota"
defaultv17AdmissionControl = "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,ResourceQuota"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant