Comments (6)
Hi @darnone, try adding the following to the cni_genie_network_config:
"cniVersion": "0.3.1",
We had the same issue moving from 1.15 to 1.16 (although we are using cilium). That's been working as well in 1.17, although we still have an issue with cni-genie leaking IPs (issue #214)
from cni-genie.
add this to spec
of genie-network-admission-controller
DaemonSet and use apps/v1
apiVersion.
spec:
selector:
matchLabels:
role: genie-network-admission-controller
That should fix your issue, but tbh I'm not sure what this daemonset does . Looks like this daemonset is configured to run on masters only. Since we're on EKS it doesn't schedule at all. See: #215 for my issue.
from cni-genie.
You never did get an answer to your issue #215 . So you moved that DaemonSet altogether and it still works? I see your point, since this is AWS, the control plane is managed to there is no real way to schedule anything on the master since you cannot able it. Right? Anyway, where exactly do I place the matchLabels? The spec of the deamonset, or the template, or the service? Like this?
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: genie-network-admission-controller
namespace: kube-system
spec:
selector:
matchLabels:
role: genie-network-admission-controller
template:
metadata:
labels:
role: genie-network-admission-controller
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
- key: node.kubernetes.io/not-ready
effect: NoSchedule
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
nodeSelector:
node-role.kubernetes.io/master: ""
hostNetwork: true
serviceAccountName: genie-plugin
containers:
- name: genie-network-admission-controller
image: quay.io/huawei-cni-genie/genie-admission-controller:latest
imagePullPolicy: Always
ports:
- containerPort: 8000
from cni-genie.
I assume you're trying to use this one? Take a look at correct deployment manifests here.
I don't know we should deploy genie-network-admission-controller
on worker nodes.
from cni-genie.
Thanks for the pointer. Sorry for my typos - I meant to say "So you removed that DaemonSet altogether and it still works?" If it is targeting the master and does not do anything is it safe to remove it? - David
from cni-genie.
Sorry for the delayed response. We have genie-network-admission-controller daemonset. But it doesn't have any running pods, since it's targeting master nodes. I think it's probably safe to remove that daemonset.
from cni-genie.
Related Issues (20)
- Better support for ARM / Hybrid architecture clusters HOT 2
- How to uninstall Genie plugin HOT 5
- multi ip pod does not work with aws and calico
- CNI Genie can fail to call CNI release during a SandboxChanged/FailedCreatePodSandBox restart HOT 2
- "genie-network-admission-controller" must be running on master nodes only? What if we're deploying on managed kubernetes?
- datadog trace agent not working with genie plugin installed
- DCO is missing for the CNI-Genie project HOT 2
- First scheduled pod starts using the wrong CNI HOT 2
- Can not delete pod when create pod failed
- Not working on EKS 1.19 nodes
- go.mod file not found in current directory or any parent directory HOT 4
- Can CNI be defined in Deployment and StatefulSet also?
- Support for NodePort service on secondary POD interfaces
- r HOT 1
- [CNCF] Annual Review requested from the TOC
- Add support for Cilium to CNI-Genie
- CNCF TOC annual review due HOT 1
- Security Slam 2023 Participation
- Update this repo with correct project website link
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 cni-genie.