Skip to content

Conversation

@neelimamukiri
Copy link
Contributor

@neelimamukiri neelimamukiri commented Jul 7, 2017

This also cleans up most of the unused mounts for netmaster & netplugin.
Removing the -x flag for netplugin. Lets deal with cleanup/upgrades separately.

This is the first part of HA implementation for Contiv on K8s. TBD is etcd HA - I am still trying to understand/decide whether to go with StatefulSets or use the etcd operator for this.

This resolves https://github.com/contiv/ccn/issues/95 and https://github.com/contiv/ccn/issues/319.

configMapKeyRef:
name: contiv-config
key: config
securityContext:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we able to drop the privileged requirement here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

netmaster does not need to be a privileged container. It has k8s 1.6 RBAC to ask for the privileges it needs.

- --tls-certificate=/var/contiv/auth_proxy_cert.pem
- --data-store-address=$(CONTIV_ETCD)
- --netmaster-address=__NETMASTER_IP__:9999
- --netmaster-address=localhost:9999
Copy link
Contributor

@rchirakk rchirakk Jul 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

localhost:9999
is it going to work when listen URL is specified for netmaster?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is part of #196 which is in review as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@neelimamukiri neelimamukiri merged commit b187ae4 into contiv:master Jul 11, 2017
@neelimamukiri neelimamukiri deleted the contiv_ha branch July 11, 2017 21:31
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

Successfully merging this pull request may close these issues.

3 participants