Add docs for the packages option

This commit is contained in:
Ciprian Hacman 2022-05-09 06:44:40 +03:00
parent 4552c5680d
commit 537a550d0c
2 changed files with 22 additions and 3 deletions

View File

@ -143,6 +143,25 @@ spec:
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
{{ kops_feature_table(kops_added_default='1.17') }}
@ -164,8 +183,8 @@ metadata:
name: nodes
spec:
sysctlParameters:
- fs.pipe-user-pages-soft=524288
- net.ipv4.tcp_keepalive_time=200
- fs.pipe-user-pages-soft=524288
- net.ipv4.tcp_keepalive_time=200
```
which would end up in a drop-in file on nodes of the instance group in question.

View File

@ -31,7 +31,7 @@ kOps will directly manage the Karpenter Provisioner resources. Read more about h
# 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