2021-10-21 15:08:40 +00:00
|
|
|
# kubeadm
|
|
|
|
|
2022-12-13 12:13:33 +00:00
|
|
|
![Version: 1.24.9](https://img.shields.io/badge/Version-1.24.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
|
2021-10-21 15:08:40 +00:00
|
|
|
|
2021-11-27 13:02:23 +00:00
|
|
|
KubeZero Kubeadm cluster config
|
2021-10-21 15:08:40 +00:00
|
|
|
|
|
|
|
**Homepage:** <https://kubezero.com>
|
|
|
|
|
|
|
|
## Maintainers
|
|
|
|
|
|
|
|
| Name | Email | Url |
|
|
|
|
| ---- | ------ | --- |
|
2022-05-04 12:49:56 +00:00
|
|
|
| Stefan Reimer | <stefan@zero-downtime.net> | |
|
2021-10-21 15:08:40 +00:00
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
2022-10-27 12:27:42 +00:00
|
|
|
Kubernetes: `>= 1.24.0`
|
2021-10-21 15:08:40 +00:00
|
|
|
|
|
|
|
## Values
|
|
|
|
|
|
|
|
| Key | Type | Default | Description |
|
|
|
|
|-----|------|---------|-------------|
|
|
|
|
| api.apiAudiences | string | `"istio-ca"` | |
|
2021-12-09 13:03:34 +00:00
|
|
|
| api.awsIamAuth.enabled | bool | `false` | |
|
|
|
|
| api.awsIamAuth.kubeAdminRole | string | `"arn:aws:iam::000000000000:role/KubernetesNode"` | |
|
|
|
|
| api.awsIamAuth.workerNodeRole | string | `"arn:aws:iam::000000000000:role/KubernetesNode"` | |
|
2021-10-21 15:08:40 +00:00
|
|
|
| api.endpoint | string | `"kube-api.changeme.org:6443"` | |
|
2021-12-17 10:57:23 +00:00
|
|
|
| api.etcdServers | string | `"https://etcd:2379"` | |
|
2021-10-21 15:08:40 +00:00
|
|
|
| api.extraArgs | object | `{}` | |
|
|
|
|
| api.listenPort | int | `6443` | |
|
2021-11-27 13:02:23 +00:00
|
|
|
| api.oidcEndpoint | string | `""` | s3://${CFN[ConfigBucket]}/k8s/$CLUSTERNAME |
|
|
|
|
| api.serviceAccountIssuer | string | `""` | https://s3.${REGION}.amazonaws.com/${CFN[ConfigBucket]}/k8s/$CLUSTERNAME |
|
2021-10-21 15:08:40 +00:00
|
|
|
| domain | string | `"changeme.org"` | |
|
|
|
|
| etcd.extraArgs | object | `{}` | |
|
2021-12-15 22:19:15 +00:00
|
|
|
| etcd.nodeName | string | `"etcd"` | |
|
|
|
|
| etcd.state | string | `"new"` | |
|
2022-09-11 11:54:56 +00:00
|
|
|
| global.clusterName | string | `"pleasechangeme"` | |
|
|
|
|
| global.highAvailable | bool | `false` | |
|
2021-11-27 13:02:23 +00:00
|
|
|
| listenAddress | string | `"0.0.0.0"` | Needs to be set to primary node IP |
|
2021-12-17 10:57:23 +00:00
|
|
|
| nodeName | string | `"kubezero-node"` | set to $HOSTNAME |
|
2022-04-08 15:09:40 +00:00
|
|
|
| protectKernelDefaults | bool | `false` | |
|
|
|
|
| systemd | bool | `false` | Set to false for openrc, eg. on Gentoo or Alpine |
|
2021-10-21 15:08:40 +00:00
|
|
|
|
|
|
|
## Resources
|
|
|
|
|
|
|
|
- https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/
|
2022-10-27 12:27:42 +00:00
|
|
|
- https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3
|
2021-10-21 15:08:40 +00:00
|
|
|
- https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3
|
|
|
|
- https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kubelet/config/v1beta1/types.go
|
|
|
|
- https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/
|
|
|
|
- https://godoc.org/k8s.io/kube-proxy/config/v1alpha1#KubeProxyConfiguration
|
|
|
|
|
|
|
|
- https://github.com/awslabs/amazon-eks-ami
|
|
|
|
|
|
|
|
### Etcd
|
|
|
|
- https://itnext.io/breaking-down-and-fixing-etcd-cluster-d81e35b9260d
|
|
|
|
|