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

Separate logic for setup_backend.sh #1841

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

r2d4
Copy link
Member

@r2d4 r2d4 commented Oct 23, 2018

"setup_backend.sh is doing two things

  1. updating the backend service
  2. updating the envoy config in each instance with the info needed for
    JWT validation
    "
    This PR separates those two concerns into two separate scripts.

Fixes #1145


This change is Reviewable

@r2d4 r2d4 changed the title [WIP] Separate logic for setup_backend.sh Separate logic for setup_backend.sh Oct 29, 2018
@@ -0,0 +1,36 @@
apiVersion: v1
Copy link
Contributor

Choose a reason for hiding this comment

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

What's this for? Aren't use using the K8s job in iap.libsonnet to run update_backend.sh?

scripts/util.sh Outdated
@@ -76,7 +76,7 @@ function createKsApp() {
# ks component rm spartakus
# Generate a random 30 bit number
local usageId=$(((RANDOM<<15)|RANDOM))
ks generate spartakus spartakus --usageId=${usageId} --reportUsage=true
# ks generate spartakus spartakus --usageId=${usageId} --reportUsage=true
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you intend to comment this out?

@jlewi
Copy link
Contributor

jlewi commented Oct 30, 2018

Thanks @r2d4

You should be able to follow these instructions to get the logs for the Argo step that failed in your most recent presubmit
https://github.com/kubeflow/testing#no-logs-in-argo-ui-or-pod-id-missing-in-argo-logs

However, the reason the logs don't show up in Argo is probably just a transient error; so its likely if you rerun the tests the Argo logs will be available and you can see the failure that way.

@jlewi
Copy link
Contributor

jlewi commented Nov 19, 2018

@r2d4 ping? Is this blocked on anything if not would be good to get it updated and submitted?

"setup_backend.sh is doing two things

1. updating the backend service
2. updating the envoy config in each instance with the info needed for
JWT validation
"
This PR separates those two concerns into two separate scripts.

mount file

wip
@r2d4
Copy link
Member Author

r2d4 commented Nov 19, 2018

cc @jlewi this should be ready for review

@jlewi
Copy link
Contributor

jlewi commented Nov 20, 2018

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

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 merged commit 2759ff1 into kubeflow:master Nov 20, 2018
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
"setup_backend.sh is doing two things

1. updating the backend service
2. updating the envoy config in each instance with the info needed for
JWT validation
"
This PR separates those two concerns into two separate scripts.

mount file

wip
surajkota pushed a commit to surajkota/kubeflow that referenced this pull request Jun 13, 2022
…#1841)

The current section for connecting to a Kubeflow cluster only covers
connecting with port-forward. Expand the section with instructions for
NodePort / LoadBalancer / Ingress.

Signed-off-by: Yannis Zarkadas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants