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

creating kompose extension #3961

Closed
axel7083 opened this issue Sep 19, 2023 · 4 comments
Closed

creating kompose extension #3961

axel7083 opened this issue Sep 19, 2023 · 4 comments

Comments

@axel7083
Copy link
Contributor

Is your feature request related to a problem? Please describe

The Generate kube action on a COMPOSE containerGroup creates a pod with many containers. Which is working but not really common behaviour when porting compose file to Kubernetes.

Example

image

Will generate

apiVersion: v1
kind: Pod
metadata:
...
spec:
  containers:
  - image: registry.k8s.io/redis:e2e
    ...
  - image: registry.k8s.io/redis-slave:v2
    ...
  - image: registry.k8s.io/guestbook:v3
    ...

Describe the solution you'd like

The Kompose project could be used in an extension to enhance the files generated. If #3959 is merged, an extension could add a menu actions to generate a more details output.

Describe alternatives you've considered

No response

Additional context

No response

@axel7083 axel7083 added the kind/feature 💡 Issue for requesting a new feature label Sep 19, 2023
@benoitf
Copy link
Collaborator

benoitf commented Sep 19, 2023

@axel7083 do you need a Deployment object when using podman generate ?

We filed a RFE in upstream podman to be able to generate a Deployment (and not only a Pod)

containers/podman#17712

containers/podman#17950

@axel7083
Copy link
Contributor Author

axel7083 commented Sep 19, 2023

@axel7083 do you need a Deployment object when using podman generate ?

We filed a RFE in upstream podman to be able to generate a Deployment (and not only a Pod)

containers/podman#17712

containers/podman#17950

Kompose is going further, generating individual Deployment1 files for each services in the Docker-compose file.
It also creates Services2, Configmaps3 etc.

Footnotes

  1. Deployment

  2. Services

  3. ConfigMaps

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

Copy link
Contributor

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants