Skip to content

Commit

Permalink
Add extra labels section for per-node options
Browse files Browse the repository at this point in the history
This feature was introduced with #1926
  • Loading branch information
Benny-Git authored Aug 13, 2022
1 parent e974056 commit ad7f1ce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions site/content/docs/user/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,29 @@ spec:

[Ingress Guide]: /docs/user/ingress

### Extra Labels

Extra labels might be useful for working with
[nodeSelectors](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/).

An example label for specifying a `tier` label:

{{< codeFromInline lang="yaml">}}
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
extraPortMappings:
- containerPort: 30950
hostPort: 80
labels:
tier: frontend
- role: worker
labels:
tier: backend
{{< /codeFromInline >}}

### Kubeadm Config Patches

KIND uses [`kubeadm`](/docs/design/principles/#leverage-existing-tooling)
Expand Down

0 comments on commit ad7f1ce

Please sign in to comment.