Helm chart and Multus/macvlan : How can I add the network annotation in the pihole pod #316
Replies: 1 comment
-
It works now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have 3 Kubernetes nodes in Proxmox VMs on on-premise servers.
I use Rancher to manage my K3S cluster. All work fine.
I installed Multus and I created a Network Attachement Definition with macvlan configuration.
I added a sample Pod to use MacVlan and my pod has a specific IP address. I can ping it. I followed this URL : https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/examples/macvlan-pod.yml
I added the MoJo2600 repo in Rancher and I can see the PiHole chart.
Now I'd like to install PiHole with a specific IP address for DNS.
As I use helm chart to install Apps, how can I add the below specific network annotation in values.yaml file ?
k8s.v1.cni.cncf.io/networks: '[ { "name": "macvlan-conf", "ips": [ "192.168.123.230/25" ], "mac": "c2:b0:57:49:47:01", "gateway": [ "192.168.123.254" ] }]'
Beta Was this translation helpful? Give feedback.
All reactions