8000 Add Ambassador Ingress controller as an addon by concaf · Pull Request #8161 · kubernetes/minikube · GitHub
[go: up one dir, main page]

Skip to content

Add Ambassador Ingress controlle 8000 r as an addon - #8161

Merged
medyagh merged 2 commits into
kubernetes:masterfrom
concaf:concaf/addons/ambassador
May 28, 2020
Merged

medyagh merged 2 commits into
kubernetes:masterfrom
concaf:concaf/addons/ambassador

Conversation

@concaf
@concaf concaf commented May 15, 2020
Copy link
Copy Markdown
Contributor

This PR adds Ambassador (https://www.getambassador.io/) as an addon to Minikube. Also, a tutorial has been added on how to use the same.

The motivation behind adding Ambassador as an addon is mostly around improving the UX around installing and configuring Ambassador. Ambassador is installed via our operator which makes sure than the Ambassador installation is healthy and up to date at all times.

CC: @brucehorn @inercia

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 15, 2020
@k8s-ci-robot
Copy link
Copy Markdown
Contributor
8000

Hi @concaf. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Welcome @concaf!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 15, 2020
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: concaf
To complete the pull request process, please assign josedonizetti
You can assign the PR to them by writing /assign @josedonizetti in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@medyagh
medyagh commented May 15, 2020
Copy link
Copy Markdown
Member

@concaf this looks great ! thank you for adding this addon. do you mind sharing which driver and os did you try this on ?

have you tried it on the docker driver ?
I wonder if we need t open a port for it during container creation time for docker/podman drivers

@priyawadhwa priyawadhwa left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey @concaf -- thanks for submitting this PR! Any update on medya's questions?

@concaf
concaf force-pushed the concaf/addons/ambassador branch from 94c49c9 to a45fcbf Compare May 19, 2020 11:27
@codecov-commenter
codecov-commenter commented May 19, 2020 •
Copy link
Copy Markdown

Codecov Report

Merging #8161 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8161      +/-   ##
==========================================
- Coverage   34.60%   34.59%   -0.02%     
==========================================
  Files         147      147              
  Lines        9378     9381       +3     
==========================================
  Hits         3245     3245              
- Misses       5736     5739       +3     
  Partials      397      397              
Impacted Files Coverage Δ
cmd/minikube/cmd/node_start.go 9.37% <0.00%> (-0.63%) ⬇️
cmd/minikube/cmd/node_stop.go 13.33% <0.00%> (-0.96%) ⬇️

@concaf
concaf commented May 19, 2020 •
Copy link
Copy Markdown
Contributor Author

@medyagh @priyawadhwa sorry for the late reply!

do you mind sharing which driver and os did you try this on ?
have you tried it on the docker driver ?

I've tested this on the docker driver, on Fedora 30.

I wonder if we need t open a port for it during container creation time for docker/podman drivers

Nope, no such requirement. This pretty much requires the same stuff as the ingress addons.

(The force pushes are due to a rebase and updating the image, nothing major)

@concaf
concaf force-pushed the concaf/addons/ambassador branch from a45fcbf to 81dabc9 Compare May 19, 2020 12:44
@priyawadhwa priyawadhwa left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@concaf thanks! I think this change is big enough to warrant an integration test -- would you mind writing one?

The test would:

  1. Start a minikube cluster, and enable the addon by adding the --addons=<addon name> flag (Sample code here)
  2. Makes sure the installation was successful (as in, some expected pod came up as Running) (sample code here)
  3. Try to configure Ambassador via an Ingress resource and make sure it works

You can add TestAmbassadorAddon to our addons_test.go file.

A lot of the code from TestAddons can be copied into TestAmbassadorAddon (I linked some key lines above).

Docs for quickly running an integration test locally can be found here. Please let me know if you have any questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

0