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

Add templates for flux example #283

Merged
merged 2 commits into from
Jul 9, 2023
Merged

Conversation

matrus2
Copy link
Contributor

@matrus2 matrus2 commented Jun 23, 2023

Hi,

This is hello-world go application template, which will be referenced by flux Kustomization example in #255. This needs to merged first otherwise tests won't pass in corresponding PR.

cc: @harshanarayana @vladimirvivien

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 23, 2023
@k8s-ci-robot k8s-ci-robot added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jun 23, 2023
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 23, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @matrus2. Thanks for your PR.

I'm waiting for a kubernetes-sigs 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.

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 k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 23, 2023
spec:
containers:
- name: hello-app
image: matrus2hub/go-hello-world@sha256:2c4bd6771dbb88db8d8294245d2937f797ff30708d0647aec564e8cd7851c2b5
Copy link
Contributor

Choose a reason for hiding this comment

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

@cpanato @vladimirvivien do we have an image coming from the kubernetes-sigs that we can use here instead of this ? It would be great if there is one. I did a quick search through the test-infra and did not find one. May be we can just use a simple upstream nginx image instead ? Sorry for being very picky on the source of the images.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@harshanarayana You are completely right, I switched to nginx instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Along the same line of questioning, @cpanato @harshanarayana, since nginx is on Dockerhub, will repo-testing run into pull throttling issues, causing it to fail ?

Copy link
Contributor

@harshanarayana harshanarayana Jul 2, 2023

Choose a reason for hiding this comment

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

We might very well run into that. But I did a bit of digging around in the test-infra and kubernetes-sigs or and I found a combination of these images used already.

Most of the nginx images used in the k-sigs are from direct dockerhub. But I did find a few other options

  1. registry.k8s.io/nginx-slim:0.8 (https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/blob/1712c870e2ed773c3de0be8138502d8bb82c39d0/examples/kubernetes/multishare/maxshares/demo-ss-512.yaml#L21)
  2. mcr.microsoft.com/oss/nginx/nginx:1.19.5 (https://github.com/kubernetes-sigs/blob-csi-driver/blob/9c74b4a3d14683a26958af9cd2a4f65656f5569e/deploy/example/statefulset.yaml#L20)

I believe it should be ok to use the default dockerhub images so long as we are using the same docker registry credentials in prow for this repo jobs as the one being used for others. cc @cpanato @vladimirvivien

Copy link
Contributor

Choose a reason for hiding this comment

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

@vladimirvivien Let us get this one merged. We can revisit the images from a different registry again if we start seeing flaky tests because of the rate limiting.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @harshanarayana for looking into this.

/lgtm
/approve

@matrus2 matrus2 requested a review from harshanarayana June 26, 2023 13:52
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 9, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matrus2, vladimirvivien

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2023
@k8s-ci-robot k8s-ci-robot merged commit 6121650 into kubernetes-sigs:main Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants