Comments (5)
Seems reasonable. See the linked PR.
from k3s.
You could probably also use a mutating admission controller like Kyverno to modify the pod-spec based on custom rules. See: https://kyverno.io/docs/writing-policies/mutate/
This is surely not an attractive option, but it's a possibility nonetheless.
from k3s.
PR looks good to me! And an annotation seems much more flexible!
from k3s.
The pods created by ServiceLB daemonsets do not have a priorityClassName so they receive the default priority of 0, which is lower than other priority classes I have defined.
I will note that the svclb pods have no requests or reservations and consume basically no resources since all they just go to sleep after adding iptables rules.
root@k3s-server-1:~# kubectl top pod -n kube-system
NAME CPU(cores) MEMORY(bytes)
coredns-6799fbcd5-zxktb 2m 13Mi
local-path-provisioner-6c86858495-dpfb6 1m 6Mi
metrics-server-54fd9b65b-9xqxs 5m 21Mi
svclb-traefik-49baafe9-xwvrd 0m 0Mi
traefik-7d5f6474df-hfhwd 1m 26Mi
This means these pods will likely be preempted when the cluster is over-committed.
Are you actually seeing the svclb pods get preempted, or is this a theoretical problem?
from k3s.
The pods created by ServiceLB daemonsets do not have a priorityClassName so they receive the default priority of 0, which is lower than other priority classes I have defined.
I will note that the svclb pods have no requests or reservations and consume basically no resources since all they just go to sleep after adding iptables rules.
root@k3s-server-1:~# kubectl top pod -n kube-system NAME CPU(cores) MEMORY(bytes) coredns-6799fbcd5-zxktb 2m 13Mi local-path-provisioner-6c86858495-dpfb6 1m 6Mi metrics-server-54fd9b65b-9xqxs 5m 21Mi svclb-traefik-49baafe9-xwvrd 0m 0Mi traefik-7d5f6474df-hfhwd 1m 26Mi
This means these pods will likely be preempted when the cluster is over-committed.
Are you actually seeing the svclb pods get preempted, or is this a theoretical problem?
This is theoretical. I have not experienced this. I came upon this while attempting to assign priority classes to all pods.
from k3s.
Related Issues (20)
- [Release-1.27] - Validate resolv.conf for presence of nameserver entries
- [Release-1.29] - missing kernel config check
- [Release-1.28] - missing kernel config check
- [Release-1.27] - missing kernel config check
- [Release-1.29] - Auto-Deploying Manifests ignores symlinked directories
- [Release-1.28] - Auto-Deploying Manifests ignores symlinked directories
- [Release-1.27] - Auto-Deploying Manifests ignores symlinked directories
- [Release-1.29] - Embedded helm controller does not track owner references properly
- [Release-1.28] - Embedded helm controller does not track owner references properly
- [Release-1.27] - Embedded helm controller does not track owner references properly
- Request to upgrade to kube-router upstream HOT 2
- nfs-client-provisioner can't mount nfs server when k3s config '--prefer-bundled-bin' HOT 4
- Installation is broken HOT 3
- Air gapped images are deleted after eviction from DiskPressure HOT 5
- HA setup fails when adding additional nodes HOT 2
- Request for loongarch version HOT 1
- [Release-1.29] - flannel-v6.1 MAC address changes every boot HOT 1
- [Release-1.28] - flannel-v6.1 MAC address changes every boot HOT 1
- [Release-1.27] - flannel-v6.1 MAC address changes every boot HOT 1
- Pod cannot establish a connection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.