-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
@@ -273,88 +260,17 @@ spec: | |||
configMapKeyRef: | |||
name: contiv-config | |||
key: config | |||
securityContext: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
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.