-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Make addon-manager cross-platform and use it with hyperkube #25631
Conversation
cc @Q-Lee |
fyi Integration test failed because of merge conflict
|
6373bc9
to
a6332dd
Compare
spec: | ||
containers: | ||
- name: kubernetes-dashboard | ||
image: gcr.io/google_containers/kubernetes-dashboard-ARCH:v1.0.1 |
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.
Will ARCH be replaced here? If yes, please comment how and why. If not, please fix :)
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.
Yes, it will be replaced by a sed
command in the Makefile.
Valid values are amd64
, arm
, arm64
and ppc64le
(as you probably know already 😄)
I'll add a comment
A few comments on the dashboard UI side. |
Updated. |
@@ -1,3 +1,4 @@ | |||
# This file should be kept in sync with cluster/images/hyperkube/dashboard-rc.yaml |
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.
Line 5 also says the same about files in gce/coreos/kube-manifests/addons/dashboard. Can you merge them in one?
One small comment and LGTM for Dashboard UI side. |
@mikedanese Any comments on this one? |
8d600de
to
12b8c98
Compare
Updated. Let's get this in now |
cc @euank |
@k8s-bot e2e test this please github issue: #IGNORE |
Just out of curiosity, have you thought of adding heapster to the addons in the |
@taimir
I guess the sink will also be deployed as an addon in that case ( |
@luxas I will review this tomorrow morning, sorry |
hostNetwork: true | ||
containers: | ||
- name: kube-proxy | ||
image: gcr.io/google_containers/hyperkube-ARCH:VERSION |
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.
I don't like that we are introducing even more ways to templative yaml in the addons directory.
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.
What should we do then?
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.
More of an observation... We should redo the entire directory with a single templating langage and expansion script.
It seems like we are conflating hyperkube image with the docker setup. Hyperkube is generally useful, and we are adding a ton of cruft in that image that is specific to the docker setup (e.g. cert generation stuff, all addons configuration...). I know this is not introduced in this PR but I think we should work to make the hyperkube image more general and slimmer. |
@@ -1,6 +1,4 @@ | |||
#!/bin/bash |
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.
How does github think these are the same file??
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.
I have no idea...
I will push then lgtm |
Yes, I know.
To But this is outside the scope of this PR. This is about leveraging a better getting-started solution for |
…ersion, remove deprecated kubectl command, add support for DaemonSets
… static pod. The addon-manager deploys kube-proxy as a DaemonSet as well as Dashboard and DNS automatically. SecurityContextDeny is removed from the manifests. Also, the turnup.sh and turndown.sh scripts are removed because we don't need them anymore, they're covered by the online documentation
12b8c98
to
73947cc
Compare
Reapplying LGTM and retesting unit |
@k8s-bot unit test this please github issue: #IGNORE |
GCE e2e build/test passed for commit 73947cc. |
Fixes: #22752 and some other issues as well
Big changes to the docker deployment. Added kube-addon-manager as a static pod. The addon-manager deploys kube-proxy as a DaemonSet, Dashboard and DNS automatically
Make the addon-manager cross-platform, change naming to binary-arch:version, remove deprecated kubectl command, add support for DaemonSets
@mikedanese @vishh @bgrant0607 @fgrzadkowski @dlorenc @brendandburns @thockin @roberthbailey @johndmulhausen @bryk @cheld @lavalamp