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

Merge netmaster and auth_proxy #206

Merged
merged 1 commit into from
Jul 11, 2017
Merged

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.

@@ -273,88 +260,17 @@ spec:
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.

- name: contiv-api-proxy
image: contiv/auth_proxy:__CONTIV_VERSION__
args:
- --tls-key-file=/var/contiv/auth_proxy_key.pem
- --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