Created
December 5, 2017 04:11
-
-
Save ssplatt/3d2f68a42e619f88dbed3244ad447708 to your computer and use it in GitHub Desktop.
mixed arch (arm and amd64, raspberry pi and pc) kubernetes cluster kube-proxy daemonset configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
creationTimestamp: null | |
generation: 1 | |
labels: | |
k8s-app: kube-proxy-amd64 | |
name: kube-proxy-amd64 | |
selfLink: /apis/extensions/v1beta1/namespaces/kube-system/daemonsets/kube-proxy-amd64 | |
namespace: kube-system | |
spec: | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
k8s-app: kube-proxy-amd64 | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
k8s-app: kube-proxy-amd64 | |
spec: | |
nodeSelector: | |
beta.kubernetes.io/arch: amd64 | |
containers: | |
- command: | |
- /usr/local/bin/kube-proxy | |
- --kubeconfig=/var/lib/kube-proxy/kubeconfig.conf | |
image: gcr.io/google_containers/kube-proxy-amd64:v1.8.4 | |
imagePullPolicy: IfNotPresent | |
name: kube-proxy-amd64 | |
resources: {} | |
securityContext: | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/lib/kube-proxy | |
name: kube-proxy | |
- mountPath: /run/xtables.lock | |
name: xtables-lock | |
- mountPath: /lib/modules | |
name: lib-modules | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostNetwork: true | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: kube-proxy | |
serviceAccountName: kube-proxy | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
- effect: NoSchedule | |
key: node.cloudprovider.kubernetes.io/uninitialized | |
value: "true" | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
name: kube-proxy | |
name: kube-proxy | |
- hostPath: | |
path: /run/xtables.lock | |
type: FileOrCreate | |
name: xtables-lock | |
- hostPath: | |
path: /lib/modules | |
type: "" | |
name: lib-modules | |
templateGeneration: 4 | |
updateStrategy: | |
rollingUpdate: | |
maxUnavailable: 1 | |
type: RollingUpdate | |
status: | |
currentNumberScheduled: 0 | |
desiredNumberScheduled: 0 | |
numberMisscheduled: 0 | |
numberReady: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
creationTimestamp: null | |
generation: 1 | |
labels: | |
k8s-app: kube-proxy-arm | |
name: kube-proxy-arm | |
selfLink: /apis/extensions/v1beta1/namespaces/kube-system/daemonsets/kube-proxy-arm | |
namespace: kube-system | |
spec: | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
k8s-app: kube-proxy-arm | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
k8s-app: kube-proxy-arm | |
spec: | |
nodeSelector: | |
beta.kubernetes.io/arch: arm | |
containers: | |
- command: | |
- /usr/local/bin/kube-proxy | |
- --kubeconfig=/var/lib/kube-proxy/kubeconfig.conf | |
image: gcr.io/google_containers/kube-proxy-arm:v1.8.4 | |
imagePullPolicy: IfNotPresent | |
name: kube-proxy-arm | |
resources: {} | |
securityContext: | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/lib/kube-proxy | |
name: kube-proxy | |
- mountPath: /run/xtables.lock | |
name: xtables-lock | |
- mountPath: /lib/modules | |
name: lib-modules | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostNetwork: true | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: kube-proxy | |
serviceAccountName: kube-proxy | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
- effect: NoSchedule | |
key: node.cloudprovider.kubernetes.io/uninitialized | |
value: "true" | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
name: kube-proxy | |
name: kube-proxy | |
- hostPath: | |
path: /run/xtables.lock | |
type: FileOrCreate | |
name: xtables-lock | |
- hostPath: | |
path: /lib/modules | |
type: "" | |
name: lib-modules | |
templateGeneration: 4 | |
updateStrategy: | |
rollingUpdate: | |
maxUnavailable: 1 | |
type: RollingUpdate | |
status: | |
currentNumberScheduled: 0 | |
desiredNumberScheduled: 0 | |
numberMisscheduled: 0 | |
numberReady: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment