K8 Operator – Tips and Troubleshooting

2 Min to complete

Tips for troubleshooting issues. First of all check your resources. Make sure you are looking at the correct resources. Remember to specify the -n for namespace and you can also get a list of all resources from a given namespace.
Some common problems are:

  • Lack of resources in the k8s cluster
  • Wrong node affinity, taints and tollerations
  • Wrong regions / availability zones

Some common performance issues are:

  • Absence of cpuset, hostNetworking, wrong CPU manager policy in kubelet, non-guaranteed QoS class (limits != requests)
  • Absence of monitoring
  • Bad practices on the client-side. Check out the Scylla University lesson on Data Modeling and How to Write Better Apps.

 

Transcript
fa-angle-up