Best Practices for kubernetes are as follow, Containers:- Containers should be ephemeral. Use a .dockerignore file. Use multi-stage builds. Avoid installing unnecessary packages. Each container should have only one concern. Minimize the number of layers. Sort multi-line arguments. Build cache. Don’t trust arbitrary base images. Use small base image. Use the builder pattern. Inside Container:- Use