Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Created October 19, 2017 11:30
Show Gist options
  • Save tnozicka/ba3c5242ced4ad9a1d4ee69c1fbab24d to your computer and use it in GitHub Desktop.
Save tnozicka/ba3c5242ced4ad9a1d4ee69c1fbab24d to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: test
spec:
selector:
matchLabels:
name: test-ds
template:
metadata:
labels:
name: test-ds
spec:
containers:
- name: test
image: centos:centos7
command: ["sleep", "9999999"]
ports:
- containerPort: 18443
hostPort: 18443
terminationGracePeriodSeconds: 30
@tnozicka
Copy link
Author

E1019 13:29:08.568283 4252 remote_runtime.go:91] RunPodSandbox from runtime service failed: rpc error: code = 2 desc = failed to start sandbox container for pod "test-dg1n3": Error response from daemon: {"message":"driver failed programming external connectivity on endpoint k8s_POD_test-dg1n3_test-ds_3396bee6-b4c0-11e7-a41f-1002b5b31771_208 (279e450614ed0fd1f820a18b6ad15b6e8f1f65e8ac29bd29b030823244485f29): Error starting userland proxy: listen tcp 0.0.0.0:18443: bind: address already in use"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment