Giter VIP home page Giter VIP logo

Comments (11)

ngtuna avatar ngtuna commented on May 16, 2024 2

As kompose supports more than one provider, we should have --provider flag like this:

kompose up --provider openshift

Default: Kubernetes (without --provider).

from kompose.

kadel avatar kadel commented on May 16, 2024 1

I've started working on adding kompose up for openshift.
I will brake it to multiple PRs and in every PR I'm going to reference this issue.

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

Also, print suggestion to use kubectl to deploy other controllers and include non-supported fields warning

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

Reopen it for further enhancement:

  • add --provider flag
  • handling invalid converted k8s object

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

@surajssd how can kompose read OpenShift endpoint config ?

from kompose.

surajssd avatar surajssd commented on May 16, 2024

@ngtuna OpenShift endpoint config as in similar to ~/.kube/config ?

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

Really? OK so I'm thinking how we can add kompose up --provider openshift. What is the process ? We need to have a ~/.kube/config pre-configured to openshift endpoint. Then let kompose does the same with kubernetes. Does it make sense ?

from kompose.

kadel avatar kadel commented on May 16, 2024

I even think that we can use same deploy function (from kubernetes) for deploying to OpenShift.
We just need to make sure that proper api all installed such as (_ "github.com/openshift/origin/pkg/deploy/api/install")
We might change that to _ "github.com/openshift/origin/pkg//api/install" to make sure that all openshift objects are included in schema

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

Ah.... I remember we discussed about preference file at #39. So, if the preference file is used, we don't need --provider anymore, right ?

from kompose.

dustymabe avatar dustymabe commented on May 16, 2024

I think this can be closed now?

from kompose.

ngtuna avatar ngtuna commented on May 16, 2024

Yes

from kompose.

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.