-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Add blog article on 7 Common Kubernetes Pitfalls #49249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add blog article on 7 Common Kubernetes Pitfalls #49249
Conversation
Signed-off-by: lhajouji <lhajouji@gmail.com>
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Overall I think this blog's structure and. content look great. One thing that I think can be imporved is adding some more description to the pitfalls of every section. For example, for the third point it would be great to provide some more context as to why the logs get lost after some time. Similarly more details for the reasons for the other pitfalls |
@siddhant-khisty Thanks for the valuable review ! i'll try to add this detail. |
Adding some context to the first pitfall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lhajouji great pice and great insights.
I left some comments about our style guide.
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Graziano Casto <graziano.casto@outlook.com>
…oid.md Co-authored-by: Tim Bannister <tim@scalefactory.com>
/retitle Add blog article on 7 Common Kubernetes Pitfalls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. Some more feedback.
Do you know how to squash commits? If you do, please do that after making your next changes.
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
**The Pitfall**: Jumping into complex service meshes, advanced CNI plugins, or multi-cluster traffic routing before you really grasp the basics of ClusterIP, NodePort, or a simple Ingress setup. | ||
|
||
**How to Avoid It**: | ||
- Start small: a Deployment, a Service, maybe a basic Ingress controller (like NGINX). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: NGINX is not itself an ingress controller
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i agree, i'll change it accordingly.
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/seven-kubernetes-pitfalls-and-how-to-avoid.md
Outdated
Show resolved
Hide resolved
**The Pitfall**: Deploying the same YAML with the same resources and settings to dev, staging, and production. Different environments have different needs, traffic patterns, and sometimes secrets. | ||
|
||
**How to Avoid It**: | ||
- Use environment overlays or [kustomize](/docs/tasks/manage-kubernetes-objects/kustomization/) to maintain a shared base while customizing resource requests, replicas, or config for each environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: better to link to https://kustomize.io/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, i'll change it.
@lhajouji I offered some suggestions previously You can reject them or let us know you don't think the fixes help, but even if you do, please do respond. |
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
…oid.md Co-authored-by: Tim Bannister <22591623+sftim@users.noreply.github.com>
Once you're happy with this, please rebase against main and squash it down to 1 commit. (let us know if you're not sure what that means, though - we can help) |
Description
This is a request to create a blog post that walks readers through seven common Kubernetes pitfalls, which can trip up both beginners and experienced practitioners.
Thanks in advance for your consideration.