Some more articles reformatting
This commit is contained in:
parent
ebb609f027
commit
652becdaaa
8 changed files with 58 additions and 23 deletions
19
content/blog/kubernetes/single-node-cluster-taint.md
Normal file
19
content/blog/kubernetes/single-node-cluster-taint.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: kubernetes single node cluster taint
|
||||
date: 2021-01-06
|
||||
description: How to schedule worker pods on your control plane node
|
||||
tags:
|
||||
- kubernetes
|
||||
---
|
||||
|
||||
## The solution
|
||||
|
||||
On a single node cluster, control plane nodes are tainted so that the cluster never schedules pods on them. To change that run :
|
||||
{{< highlight sh >}}
|
||||
kubectl taint nodes --all node-role.kubernetes.io/master-
|
||||
{{< /highlight >}}
|
||||
|
||||
Getting dns in your pods :
|
||||
{{< highlight sh >}}
|
||||
add --cluster-dns=10.96.0.10 to /etc/conf.d/kubelet
|
||||
{{< /highlight >}}
|
Loading…
Add table
Add a link
Reference in a new issue