Git Product home page Git Product logo

Comments (12)

Bobgy avatar Bobgy commented on June 30, 2024 1

https://github.com/GoogleCloudPlatform/k8s-config-connector

from kubeflow-distribution.

issue-label-bot avatar issue-label-bot commented on June 30, 2024

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 0.74
platform/gcp 0.98

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

from kubeflow-distribution.

jlewi avatar jlewi commented on June 30, 2024

To edit the CRD:

  1. Fetch the CRD

     kubectl get crd containerclusters.container.cnrm.cloud.google.com -o yaml > /tmp/container.crd.yaml
    
  2. Open /tmp/container.crd.yaml and edit the schema to set ipallocationpolicy as mentioned in the previous comment.

  3. Apply it

     kubectl apply -f /tmp/container.crd.yaml
    

from kubeflow-distribution.

jlewi avatar jlewi commented on June 30, 2024

Spoke to soon; doesn't look like this actually worked. The cluster ended up getting created on the default network; no subnetwork was created automatically.
https://gist.github.com/jlewi/29edc43a2b9cf7329f5274e7e35ad609

from kubeflow-distribution.

parthmishra avatar parthmishra commented on June 30, 2024

Is this still something that needs to be done? I wasn't sure if this was resolved already

from kubeflow-distribution.

jlewi avatar jlewi commented on June 30, 2024

I'm hoping by now this is resolved in newer versions of CNRM but need to double check and then should update the documentation (kubeflow/website#2190) appropriately.

from kubeflow-distribution.

issue-label-bot avatar issue-label-bot commented on June 30, 2024

Issue-Label Bot is automatically applying the labels:

Label Probability
area/docs 0.85

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

from kubeflow-distribution.

jtfogarty avatar jtfogarty commented on June 30, 2024

/priority p1

from kubeflow-distribution.

Bobgy avatar Bobgy commented on June 30, 2024

After upgrading CNRM to 0.29.0 in KF 1.2 management cluster. I believe the issue has been fixed.
#152

Search for "ipAllocationPolicy" in https://cloud.google.com/config-connector/docs/reference/resource-docs/container/containercluster#spec

from kubeflow-distribution.

TrsNium avatar TrsNium commented on June 30, 2024

@Bodgy
Hello. The above problem is not yet solved.
I installed cnrm based on the changes that have been incorporated into the master branch, but the same error as above occurred.

Error from server: error when creating ".build/gcp_config/container.cnrm.cloud.google.com_v1beta1_containercluster_kubeflow.yaml": admission webhook "deny-unknown-fields.cnrm.cloud.google.com" denied the request: unknown field "spec.ipAllocationPolicy.createSubnetwork"
make: *** [apply-gcp] Error 1
$ kubectl get namespace cnrm-system -ojsonpath='{.metadata.annotations.cnrm\.cloud\.google\.com\/version}'
1.29.0

from kubeflow-distribution.

Bobgy avatar Bobgy commented on June 30, 2024

@TrsNium you are right. I didn't realize createSubnetwork field is not in the spec.

It doesn't seem like adding those fields will help.
I think this problem needs to be solved in the upstream repo. Has anyone created an issue there?

from kubeflow-distribution.

RoyerRamirez avatar RoyerRamirez commented on June 30, 2024

Hi has this issue been resolved? If not, we might be able to assists if we get more context into what's needed to get this up and running? All the GKE clusters we run are private cluster.

Best,

Royer R Ruiz

from kubeflow-distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.