Azure / draft

A day 0 tool for getting your app on k8s fast
MIT License
507 stars 59 forks source link

Where is the Draft selection menu when right clicked? #119

Closed scheung38 closed 2 years ago

scheung38 commented 2 years ago

Not sure which extension is needed to get Draft selection menu when right click VSCode explorer?

Is this not available yet?

Screenshot 2022-07-17 at 00 38 03

Mac OSX 12.4 VSCode: 1.69.1

qpetraroia commented 2 years ago

Hi @scheung38,

This is the vscode extension for draft. We are planning on releasing it very soon! Keep an eye out on the communication board as well as AKS Release Notes

karenychen commented 2 years ago

Hey @scheung38,

We have just released our initial version of the VSCode extension here. Feel free to download and try it out :)

scheung38 commented 2 years ago

When working with Draft :

  1. Do I need to provide my own Ingress as defined in my docker-compose file which has app (Django), NoSQL (MongoDB) and Ingress (Traefik) This will be converted into K8s manifests via kompose and I think it should go into a folder called manifests.

  2. If working with docker-compose and Dockerfiles are already present, so they need to be at root level?

  3. Does it work with any other repo other than GitHub as I have current repo in Bitbucket

Sent from my iPhone

On 26 Jul 2022, at 20:01, Karen Chen @.***> wrote:

 Closed #119 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

qpetraroia commented 2 years ago

Hey @scheung38,

A couple of questions on my end. Are you saying that you already have a containerized application via docker-compose?

Regarding this question Does it work with any other repo other than GitHub as I have current repo in Bitbucket. Draft only works with GitHub.

Thank you!

scheung38 commented 2 years ago

Yes it was created from cookiecutter-django so these are the existing files:

docker-compose file: production.yml kompose-generated folder: k8s manifests (via kompose convert), concretely:

kompose --file production.yml -o $HOME/Documents/kompose-generated convert --volumes hostPath

Then renamed kompose-generated to manifests since it looks like Draft only sees thing folder

compose/production/django/Dockerfile compose/production/traefik/Dockerfile compose/production/mongo/Dockerfile

Screenshot 2022-07-26 at 22 59 41

Added in this form:

Enter Github repository: What is the format? Tried

MyOrganization/MyRepo.git git@github.com:MyOrganization/MyRepo.git https://github.com/MyOrganization/MyRepo.git

Still failed Screenshot 2022-07-26 at 23 05 56

Updated k8s manifests:

Screenshot 2022-07-26 at 23 17 19

so looking for easiest way to deploy to existing AKS cluster. But says repo not found, but it is there:

git remote -v

Screenshot 2022-07-26 at 23 22 31

Screenshot 2022-07-26 at 23 19 17

imiller31 commented 2 years ago

@scheung38 can you try just MyOrganization/MyRepo

scheung38 commented 1 year ago

Yes already did as above but still not found but got remote -v shows it is there

Sent from my iPhone

On 27 Jul 2022, at 23:06, Israel Miller @.***> wrote:

 @scheung38 can you try just MyOrganization/MyRepo

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.