apiVersion: v1
kind: Pod
metadata:
name: static-ip
annotations:
k8s.v1.cni.cncf.io/networks: '[
{
"name": "<name>",
"ips": [ "192.0.2.205/24","2001:333:333::333/64" ],
"mac": "CA:FE:C0:FF:EE:00"
}
]'
spec:
containers:
- name: static-ip
image: quay.io/wcaban/net-toolbox
command:
- /bin/bash
- -c
- sleep infinity
Last active
September 23, 2020 22:47
-
-
Save williamcaban/21ebf4d6a487ee6edfe9f2c7af50a9ac to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment