Kubernetes Tips
Contents
Kubernetes Usage Config
Alias in ~/.bashrc
|
|
Output YAML in ~/.bashrc
|
|
Vim Config in ~/.vimrc
|
|
After editing *.service
|
|
StatefulSet
|
|
Kubernetes Resource Usage
|
|
Manually Scheduling without Scheduler
nodeName
The
nodeName
field is for that.Replace Command
|
|
Affinity
POD Affinity
POD Affinity
Inter-pod affinity and anti-affinity allow you to constrain which nodes your pod is eligible to be scheduled based on labels on pods that are already running on the node rather than based on labels on nodes.
Node Affinity
Node Affinity
Node affinity is conceptually similar to
nodeSelector
– it allows you to constrain which nodes your pod is eligible to be scheduled on, based on labels on the node.CIDR
POD CIDR
|
|
Service CIDR
|
|
Events
|
|
API Resources
|
|
Find First to be Terminated
|
|
JSONPath
|
|
Create a YAML with Command
|
|
Quick Delete a POD
|
|
SSH with Command
|
|