Kubernetes comes with many tools to help you manage your clusters, including kubectl set-context.
In this guide, you'll learn how to use this command to manipulate contexts in your kubeconfig file, as well as best practices for doing so.
More: https://containiq.com/post/kubectl-config-set-context-tutorial-and-best-practices
In this guide, you'll learn how to use this command to manipulate contexts in your kubeconfig file, as well as best practices for doing so.
More: https://containiq.com/post/kubectl-config-set-context-tutorial-and-best-practices
Containiq
Kubectl Config Set-Context | Tutorial and Best Practices
Kubernetes comes with many tools to help you manage your clusters, including kubectl set-context. In this guide, you’ll learn how to use this command to manipulate contexts in your kubeconfig file, as well as best practices for doing so.
Forwarded from LearnKube news
kcount counts Kubernetes objects across namespaces and clusters.
It can be used as a CLI tool or as a daemon (service) exposing Prometheus metrics.
More: https://github.com/pan-net-security/kcount
It can be used as a CLI tool or as a daemon (service) exposing Prometheus metrics.
More: https://github.com/pan-net-security/kcount
GitHub
GitHub - pan-net-security/kcount: Count Kubernetes objects across namespaces and clusters
Count Kubernetes objects across namespaces and clusters - pan-net-security/kcount
In this article, you will learn about debugging and troubleshooting Kubernetes pods using ephemeral containers.
More: https://afarid.medium.com/debugging-kubernetes-pods-deep-dive-d6b2814cd8ce
More: https://afarid.medium.com/debugging-kubernetes-pods-deep-dive-d6b2814cd8ce
This repository contains the notes taken during study sessions for the Certified Kubernetes Administrator (CKA).
More: https://github.com/ismet55555/Certified-Kubernetes-Administrator-Notes
More: https://github.com/ismet55555/Certified-Kubernetes-Administrator-Notes
GitHub
GitHub - ismet55555/Certified-Kubernetes-Administrator-Notes: https://www.cncf.io/certification/cka/
https://www.cncf.io/certification/cka/. Contribute to ismet55555/Certified-Kubernetes-Administrator-Notes development by creating an account on GitHub.
A lot of engineers advise the use of CPU limits on every container as Kubernetes best practice.
Unfortunately, CPU limits should rarely be used, if used at all!
This article explains why.
More: https://netdata.cloud/blog/kubernetes-throttling-doesnt-have-to-suck-let-us-help
Unfortunately, CPU limits should rarely be used, if used at all!
This article explains why.
More: https://netdata.cloud/blog/kubernetes-throttling-doesnt-have-to-suck-let-us-help
www.netdata.cloud
Kubernetes Throttling Doesn’t Have To Suck. Let Us Help! | Netdata
Solve Kubernetes throttling issues with real-time monitoring and smarter resource management. Learn how to optimize performance—read the guide now!
Forwarded from Kubesploit
Kubernetes is neither secure by default, nor by itself.
You absolutely can, and must, harden its configuration.
This article summarises the NSA/CISA guidelines on security hardening Kubernetes.
More: https://elastisys.com/nsa-cisa-kubernetes-security-hardening-guide-and-beyond-for-2022
You absolutely can, and must, harden its configuration.
This article summarises the NSA/CISA guidelines on security hardening Kubernetes.
More: https://elastisys.com/nsa-cisa-kubernetes-security-hardening-guide-and-beyond-for-2022
elastisys
Free Guide: How to Security Harden Kubernetes in 2022
How to security harden Kubernetes in 2022. The NSA/CISA guidelines summarized, with Elastisys hands-on advice and real-world recommendations.
A curated list of awesome Kubernetes tools and resources.
More: https://github.com/tomhuang12/awesome-k8s-resources
More: https://github.com/tomhuang12/awesome-k8s-resources
GitHub
GitHub - tomhuang12/awesome-k8s-resources: A curated list of awesome Kubernetes tools and resources.
A curated list of awesome Kubernetes tools and resources. - tomhuang12/awesome-k8s-resources
Forwarded from LearnKube news
Learnk8s and Linode are launching a three-part, free educational program on Kubernetes scaling.
Each session comes with a webinar, code samples and a step-by-step article:
- Unit 1: "Request-based autoscaling in Kubernetes: scaling to zero and back" (21st of Sept)
- Unit 2: "Proactive cluster autoscaling in Kubernetes" (28th of Sept)
- Unit 3: "Scaling Kubernetes to multiple clusters and regions" (5th of Oct)
What you can expect:
- A live webinar (Chris, Salman & Daniele will present them). The event is recorded, and you can watch it later too.
- A step-by-step tutorial on Linode's blog where you can try everything we demo live.
- A collection of noscripts and resources helpful to understand and (if you want) extend our code.
You can sign up here: bit.ly/k8s-scale
Each session comes with a webinar, code samples and a step-by-step article:
- Unit 1: "Request-based autoscaling in Kubernetes: scaling to zero and back" (21st of Sept)
- Unit 2: "Proactive cluster autoscaling in Kubernetes" (28th of Sept)
- Unit 3: "Scaling Kubernetes to multiple clusters and regions" (5th of Oct)
What you can expect:
- A live webinar (Chris, Salman & Daniele will present them). The event is recorded, and you can watch it later too.
- A step-by-step tutorial on Linode's blog where you can try everything we demo live.
- A collection of noscripts and resources helpful to understand and (if you want) extend our code.
You can sign up here: bit.ly/k8s-scale
Forwarded from LearnKube news
Master Kubernetes with this a 4-day Advanced Kubernetes workshop on the 22nd of September (in 3 weeks)!
_What should you expect?_
- Learn how to architect and design clusters from the ground up (in the cloud or on-prem).
- Explore the Kubernetes internal component and how the system is designed with resiliency in mind.
- **Deep-dive into the networking components and observe the packets flowing into the cluster.
- Hands-on labs to test the theory with real-world scenarios!
You can sign up here: https://learnk8s.io/online-advanced-september-2022
_What should you expect?_
- Learn how to architect and design clusters from the ground up (in the cloud or on-prem).
- Explore the Kubernetes internal component and how the system is designed with resiliency in mind.
- **Deep-dive into the networking components and observe the packets flowing into the cluster.
- Hands-on labs to test the theory with real-world scenarios!
You can sign up here: https://learnk8s.io/online-advanced-september-2022
This playbook will build a Kubernetes cluster with k3s and MetalLB via Ansible.
More: https://github.com/clanktron/k3s-ansible
More: https://github.com/clanktron/k3s-ansible
GitHub
GitHub - clanktron/k3s-ansible: ansible noscript for my home-lab
ansible noscript for my home-lab. Contribute to clanktron/k3s-ansible development by creating an account on GitHub.
Forwarded from Kube Events
Hello,
We wanted to share some discounts we received from the Conference organisers. We hope you will find these helpful.
We share more in our newsletter. You can subscribe to our Newsletter here: https://kube.events
1. SKILup Festival: London (50% off)
Date: September 13, 2022
Discount code: https://www.skilupfestival.io/london-22?promo=KubeEvents
2. SREday 2022, London (30% off)
Date: September 15-16, 2022 https://checkout.eventcreate.com/sreday/select-buy Coupon code: SREDAY-KUBE-EVENTS
3. DevOpsDays Washington DC 2022 (20% off)
Date: September 15-16, 2022 https://www.eventbrite.com/e/345684861727/?discount=K8SEVENTSFRIENDS
The Strange Loop conference ($75 off) Date: September 22-24, 2022
Tickets page: https://ti.to/strange-loop/2022
Coupon code: KUBE
We wanted to share some discounts we received from the Conference organisers. We hope you will find these helpful.
We share more in our newsletter. You can subscribe to our Newsletter here: https://kube.events
1. SKILup Festival: London (50% off)
Date: September 13, 2022
Discount code: https://www.skilupfestival.io/london-22?promo=KubeEvents
2. SREday 2022, London (30% off)
Date: September 15-16, 2022 https://checkout.eventcreate.com/sreday/select-buy Coupon code: SREDAY-KUBE-EVENTS
3. DevOpsDays Washington DC 2022 (20% off)
Date: September 15-16, 2022 https://www.eventbrite.com/e/345684861727/?discount=K8SEVENTSFRIENDS
The Strange Loop conference ($75 off) Date: September 22-24, 2022
Tickets page: https://ti.to/strange-loop/2022
Coupon code: KUBE
Kube Events
Kubernetes events | Kube Events
Curated meetups, conferences, training and webinars on Kubernetes
Forwarded from LearnKube news
Master Kubernetes with this a 4-day Advanced Kubernetes workshop on the 22nd of September (in 2 weeks)!
_What should you expect?_
- Learn how to architect and design clusters from the ground up (in the cloud or on-prem).
- Explore the Kubernetes internal component and how the system is designed with resiliency in mind.
- **Deep-dive into the networking components and observe the packets flowing into the cluster.
- Hands-on labs to test the theory with real-world scenarios!
You can sign up here: https://learnk8s.io/online-advanced-september-2022
_What should you expect?_
- Learn how to architect and design clusters from the ground up (in the cloud or on-prem).
- Explore the Kubernetes internal component and how the system is designed with resiliency in mind.
- **Deep-dive into the networking components and observe the packets flowing into the cluster.
- Hands-on labs to test the theory with real-world scenarios!
You can sign up here: https://learnk8s.io/online-advanced-september-2022
template-cluster-k3s is a highly opinionated template for deploying a single k3s cluster with Ansible and Terraform backed by Flux, sops, GitHub Actions, renovate and more.
More: https://github.com/k8s-at-home/template-cluster-k3s
More: https://github.com/k8s-at-home/template-cluster-k3s
GitHub
GitHub - onedr0p/cluster-template: A template for deploying a Kubernetes cluster with k3s or Talos
A template for deploying a Kubernetes cluster with k3s or Talos - onedr0p/cluster-template
Forwarded from Kube Architect
The article starts with a recap of Kubernetes resource management and its core concepts of requests and limits.
Then it discusses those static limits in the realm of pod autoscalers, such as HPA, VPA, and KPA.
More: https://dnastacio.medium.com/kubernetes-resources-1a1fa1e72dcf
Then it discusses those static limits in the realm of pod autoscalers, such as HPA, VPA, and KPA.
More: https://dnastacio.medium.com/kubernetes-resources-1a1fa1e72dcf
buildg is a tool to debug Dockerfile in an interactive and easy-to-use UI/UX.
More: https://github.com/ktock/buildg
More: https://github.com/ktock/buildg
Forwarded from LearnKube news
Reducing infrastructure costs boils down to turning apps off when you don't use them.
However, the challenge is figuring out how to turn them on automatically when needed.
Take the example of a Kubernetes dev cluster: you might want not to run any service during the weekend.
In this webinar, Salman will demo live how you can use KEDA and the HTTP scaler to intercept and monitor the requests to your services and scale your pods accordingly.
In the process, you will discover how you can scale to zero and create pods only when you need them.
You can register here (it's free): https://kube.events/t/8d60478c-573e-4e07-bd3d-972706ea8307
However, the challenge is figuring out how to turn them on automatically when needed.
Take the example of a Kubernetes dev cluster: you might want not to run any service during the weekend.
In this webinar, Salman will demo live how you can use KEDA and the HTTP scaler to intercept and monitor the requests to your services and scale your pods accordingly.
In the process, you will discover how you can scale to zero and create pods only when you need them.
You can register here (it's free): https://kube.events/t/8d60478c-573e-4e07-bd3d-972706ea8307
Forwarded from LearnKube news
In this article, you will follow Mike's journey in accidentally force deleting a prod Kubernetes cluster and recovering it from a backup.
More: https://medium.com/@mikecarpendale/that-time-i-issued-a-force-delete-in-the-wrong-k8s-context-the-mgmt-cluster-context-4d3e4dc69520
More: https://medium.com/@mikecarpendale/that-time-i-issued-a-force-delete-in-the-wrong-k8s-context-the-mgmt-cluster-context-4d3e4dc69520
Forwarded from Kube Architect
In this blog post, you'll learn a few tips for running highly available applications on Kubernetes:
1. Using deployments.
2. RollingUpdate update strategy.
3. Spreading pods.
4. Pod disruption budgets.
More: https://vivek-syngh.medium.com/running-highly-available-apps-on-kubernetes-17234b3dc0f
1. Using deployments.
2. RollingUpdate update strategy.
3. Spreading pods.
4. Pod disruption budgets.
More: https://vivek-syngh.medium.com/running-highly-available-apps-on-kubernetes-17234b3dc0f
Medium
Running Highly Available Apps on Kubernetes
As Kubernetes becomes the de-facto standard for deploying applications, many of us are either running our applications on Kubernetes or…
version-checker is a Kubernetes utility for observing the current versions of images running in the cluster and the latest available upstream.
These checks get exposed as Prometheus metrics to be viewed on a dashboard or soft alert cluster operators.
More: https://github.com/jetstack/version-checker
These checks get exposed as Prometheus metrics to be viewed on a dashboard or soft alert cluster operators.
More: https://github.com/jetstack/version-checker
In this article, you will learn how to use CPU limits to control resource usage in a cluster, while avoiding CPU related issues in production.
More: https://komodor.com/learn/kubernetes-cpu-limits-throttling
More: https://komodor.com/learn/kubernetes-cpu-limits-throttling
Switchboard is a Kubernetes operator that automates the creation of DNS records and TLS certificates when using Traefik v2 and its IngressRoute custom resource.
More: https://github.com/borchero/switchboard
More: https://github.com/borchero/switchboard