Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If DaemonSet contrail-agent need toleration ? #17

Open
heisenbergye opened this issue Dec 13, 2018 · 0 comments
Open

If DaemonSet contrail-agent need toleration ? #17

heisenbergye opened this issue Dec 13, 2018 · 0 comments

Comments

@heisenbergye
Copy link

Learning from contrail-standalone-kubernetes architecture, there is no need to deploy contrail-agent on the master node,so I delete the spec.template.spec.tolerations in DaemonSet contrail-agent. Because the vhost0 has a network failure after contrail-agent initialized on the master node,although there is a default route via vhost0 in host's route-table.

apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: contrail-agent
  namespace: kube-system
  labels:
    app: contrail-agent
spec:
  template:
    metadata:
      labels:
        app: contrail-agent
    spec:
      #tolerations:
      #- key: node-role.kubernetes.io/master
        #operator: Exists
        #effect: NoSchedule
      automountServiceAccountToken: false
      hostNetwork: true
      initContainers:
      - name: contrail-node-init
        image: "docker.io/opencontrailnightly/contrail-node-init:latest"
        imagePullPolicy: ""
        securityContext:
          privileged: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant