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

test: Install Helm 3 #10378

Merged
merged 2 commits into from Mar 2, 2020
Merged

test: Install Helm 3 #10378

merged 2 commits into from Mar 2, 2020

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Feb 28, 2020

Install Helm 3 instead of Helm 2. Use the "cilium-dev" image also for preflight as "cilium" image is not available for the local build.

Fixes: #10374


This change is Reviewable

@jrajahalme jrajahalme added pending-review area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Feb 28, 2020
@jrajahalme jrajahalme requested a review from a team as a code owner February 28, 2020 03:35
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Feb 28, 2020
@jrajahalme
Copy link
Member Author

test-me-please

@coveralls
Copy link

coveralls commented Feb 28, 2020

Coverage Status

Coverage decreased (-0.02%) to 45.541% when pulling 67f78de on pr/jrajahalme/test-helm-wo-tiller into 0829785 on master.

Copy link
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

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

@jrajahalme the upgrade guide should reflect the steps executed in the upgrade guide here: https://docs.cilium.io/en/v1.7/install/upgrade/ we require helm 3 to installed in order for the upgrade guide to be successful.

@jrajahalme
Copy link
Member Author

@aanm If Helm 3 is required, then why we insist on installing Helm 2 in test/provision/k8s_install.sh:

export HELM_VERSION="2.14.2"

Helm 3 is required so install it rather than Helm 2.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
Running preflight daemonset can fail due to image pull error, if trying to pull the "cilium" image:

$ kubectl get pods --all-namespaces
kube-system   cilium-pre-flight-check-8d4qw     0/1     Init:ErrImagePull   0          56s
kube-system   cilium-pre-flight-check-p9945     0/1     Init:ErrImagePull   0          56s

$ kubectl describe ds cilium-pre-flight-check -n kube-system
Name:           cilium-pre-flight-check
Pod Template:
  Init Containers:
   clean-cilium-state:
    Image:      k8s1:5000/cilium/cilium:latest

Dev builds of the latest cilium images are named "cilium-dev":

$ docker image ls
REPOSITORY                               TAG                                        IMAGE ID            CREATED             SIZE
k8s1:5000/cilium/cilium-dev              latest                                     b8fc4648be0f        32 minutes ago      658MB

Fix this by using "cilium-dev" also for 'preflight.image' by default.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme force-pushed the pr/jrajahalme/test-helm-wo-tiller branch from 0788071 to 67f78de Compare February 28, 2020 18:09
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme jrajahalme changed the title test: Support helm without tiller test: Install Helm 3 Feb 28, 2020
@jrajahalme jrajahalme requested a review from aanm February 28, 2020 18:14
@aanm aanm merged commit 19c3f5a into master Mar 2, 2020
1.8.0 automation moved this from In progress to Merged Mar 2, 2020
@aanm aanm deleted the pr/jrajahalme/test-helm-wo-tiller branch March 2, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

CI: Tests upgrade and downgrade from a Cilium stable image to master
4 participants