Skip to content

Instantly share code, notes, and snippets.

@alban
Created February 18, 2020 15:58
Show Gist options
  • Save alban/2e84cb04445fd2cd8f95c4440abef2d3 to your computer and use it in GitHub Desktop.
Save alban/2e84cb04445fd2cd8f95c4440abef2d3 to your computer and use it in GitHub Desktop.
calico.log
$ docker ps -a|grep calico/cni
82a7c635d14a calico/cni "/install-cni.sh" 39 minutes ago Exited (0) 39 minutes ago k8s_install-cni_calico-node-tsnzj_kube-system_1f519186-b756-4eb8-868f-bce98d27dbfc_0
$ docker logs 82a7c635d14a
ls: cannot access '/calico-secrets': No such file or directory
Wrote Calico CNI binaries to /host/opt/cni/bin
CNI plugin version: v3.12.0
/host/secondary-bin-dir is non-writeable, skipping
Using CNI config template from CNI_NETWORK_CONFIG environment variable.
CNI config: {
"name": "k8s-pod-network",
"cniVersion": "0.3.1",
"plugins": [
{
"type": "calico",
"log_level": "info",
"datastore_type": "kubernetes",
"nodename": "localhost",
"mtu": 1480,
"ipam": {
"type": "calico-ipam"
},
"policy": {
"type": "k8s"
},
"kubernetes": {
"kubeconfig": "/etc/kubernetes/cni/net.d/calico-kubeconfig"
}
},
{
"type": "portmap",
"snat": true,
"capabilities": {"portMappings": true}
},
{
"type": "bandwidth",
"capabilities": {"bandwidth": true}
}
]
}
/install-cni.sh: line 195: [-z: command not found
Created CNI config 10-calico.conflist
Done configuring CNI. Sleep=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment