Skip to content

Commit

Permalink
Merge pull request #2877 from Benny-Git/main
Browse files Browse the repository at this point in the history
Add extra labels section for per-node options
  • Loading branch information
k8s-ci-robot committed Aug 18, 2022
2 parents 7ad4201 + ad7f1ce commit 74a8ae8
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 74a8ae8

Please sign in to comment.