mirror of https://github.com/kubernetes/kops.git
Add docs for the packages option
This commit is contained in:
parent
4552c5680d
commit
537a550d0c
|
@ -143,6 +143,25 @@ spec:
|
||||||
compressUserData: true
|
compressUserData: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## packages
|
||||||
|
{{ kops_feature_table(kops_added_default='1.24') }}
|
||||||
|
|
||||||
|
To install additional packages to hosts in the instance group, specify the `packages` field as an array of strings.
|
||||||
|
|
||||||
|
Package names are distro specific and are not validated in any way. Specifying incorrect package names may prevent nodes from starting.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
apiVersion: kops.k8s.io/v1alpha2
|
||||||
|
kind: InstanceGroup
|
||||||
|
metadata:
|
||||||
|
name: nodes
|
||||||
|
spec:
|
||||||
|
packages:
|
||||||
|
- nfs-common
|
||||||
|
```
|
||||||
|
|
||||||
## sysctlParameters
|
## sysctlParameters
|
||||||
{{ kops_feature_table(kops_added_default='1.17') }}
|
{{ kops_feature_table(kops_added_default='1.17') }}
|
||||||
|
|
||||||
|
@ -164,8 +183,8 @@ metadata:
|
||||||
name: nodes
|
name: nodes
|
||||||
spec:
|
spec:
|
||||||
sysctlParameters:
|
sysctlParameters:
|
||||||
- fs.pipe-user-pages-soft=524288
|
- fs.pipe-user-pages-soft=524288
|
||||||
- net.ipv4.tcp_keepalive_time=200
|
- net.ipv4.tcp_keepalive_time=200
|
||||||
```
|
```
|
||||||
|
|
||||||
which would end up in a drop-in file on nodes of the instance group in question.
|
which would end up in a drop-in file on nodes of the instance group in question.
|
||||||
|
|
|
@ -31,7 +31,7 @@ kOps will directly manage the Karpenter Provisioner resources. Read more about h
|
||||||
|
|
||||||
# Breaking changes
|
# Breaking changes
|
||||||
|
|
||||||
* The nfs-common/nfs-utils package is no longer installed by default.
|
* The nfs-common/nfs-utils package is no longer installed by default. Use the [packages](https://kops.sigs.k8s.io/instance_groups/#packages) option at instance group level to add it back.
|
||||||
|
|
||||||
## Control plane taints and labels
|
## Control plane taints and labels
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue