-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to kubelet config file and enable server TLS bootstrap
This is what official bootstrap script uses also. This moves most of the flags to the config files, add adds one new parameter `serverTLSBootstrap`, which is not availables as a flag.
- Loading branch information
1 parent
89459d3
commit 0ee6a4e
Showing
3 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"kind": "KubeletConfiguration", | ||
"apiVersion": "kubelet.config.k8s.io/v1beta1", | ||
"address": "0.0.0.0", | ||
"authentication": { | ||
"anonymous": { | ||
"enabled": false | ||
}, | ||
"webhook": { | ||
"cacheTTL": "2m0s", | ||
"enabled": true | ||
}, | ||
"x509": { | ||
"clientCAFile": "/etc/eksctl/ca.crt" | ||
} | ||
}, | ||
"authorization": { | ||
"mode": "Webhook", | ||
"webhook": { | ||
"cacheAuthorizedTTL": "5m0s", | ||
"cacheUnauthorizedTTL": "30s" | ||
} | ||
}, | ||
"clusterDomain": "cluster.local", | ||
"cgroupDriver": "cgroupfs", | ||
"featureGates": { | ||
"RotateKubeletServerCertificate": true | ||
}, | ||
"serverTLSBootstrap": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters