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

jupyter web app manifest version v3 #1051

Merged
merged 4 commits into from
Apr 1, 2020

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Mar 25, 2020

  • Define v3 versions of the manifests that use the patterns as described
    in http://bit.ly/kf_kustomize_v3

  • Define a new base_v3 package

  • Use a configmap generator to generate a config map containing application specific parameters

  • Make the parameters available to the command line by setting environment variables to
    the config map and then referencing them in the command line.

Related to #774

@kubeflow-bot
Copy link
Contributor

This change is Reviewable

@jlewi
Copy link
Contributor Author

jlewi commented Mar 25, 2020

/assign @kimwnasptd

@jlewi
Copy link
Contributor Author

jlewi commented Mar 25, 2020

Test failure looks like a git flake.
#1013 should probably be merged first.

Jeremy Lewi added 2 commits March 30, 2020 15:54
* Define v3 versions of the manifests that use the patterns as described
in http://bit.ly/kf_kustomize_v3

* Define a new base_v3 package
* Use a configmap generator to generate a config map containing application specific parameters
* Make the parameters available to the command line by setting environment variables to
the config map and then referencing them in the command line.

Related to kubeflow#774
* Move the jupyter configs back to the base directory so that
  base is still a valid kustomization package becaue the tests
  will use the current version of kfctl which doesn't support loader
  None.
@jlewi
Copy link
Contributor Author

jlewi commented Mar 31, 2020

build and deploy failed.

util.py                     72 INFO     time="2020-03-30T23:39:03Z" level=error msg="Permanently failed applying application jupyter-web-app; error:  (kubeflow.error): Code 500 with message: Apply.Run  Error error when creating \"/tmp/kout192295368\":
admission webhook \"pilot.validation.istio.io\" denied the request: configuration is invalid: domain name \"kubeflow.svc.$(clusterDomain)\" invalid (label \"$(clusterDomain)\" invalid)" filename="kustomize/kustomize.go:247"
util.py                     72 INFO     Error: failed to apply:  (kubeflow.error): Code 500 with message: kfApp Apply failed for kustomize:  (kubeflow.error): Code 500 with message: Apply.Run  Error error when creating "/tmp/kout192295368": admission w
ebhook "pilot.validation.istio.io" denied the request: configuration is invalid: domain name "kubeflow.svc.$(clusterDomain)" invalid (label "$(clusterDomain)" invalid)

@jlewi
Copy link
Contributor Author

jlewi commented Mar 31, 2020

@kimwnasptd The tests passed could you please review.

@@ -18,7 +18,11 @@ spawnerFormDefaults:
image:
# The container Image for the user's Jupyter Notebook
# If readonly, this value must be a member of the list below
<<<<<<< HEAD
Copy link
Member

Choose a reason for hiding this comment

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

I think we should go with the HEAD changes :)
Also the generated test data has these lines, I guess you'll have to regenerate the tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch thanks.

@kimwnasptd
Copy link
Member

/lgtm

@jlewi
Copy link
Contributor Author

jlewi commented Apr 1, 2020

/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 5b63c65 into kubeflow:master Apr 1, 2020
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.

5 participants