GithubHelp home page GithubHelp logo

Comments (4)

myappfree avatar myappfree commented on June 21, 2024

@jskeet any chance to fix the iussue?
Thanks

Here my Workaround

first of all you need to install docker desktop

right click on project -> Add -> Docker Supoport

righ click on project-> open in Terminal

you need first time authentication

gcloud auth login
gcloud container clusters get-credentials {your cluster} --region {region} --project {project} gcloud auth configure-docker

create a script ps1


 $version = [DateTimeOffset]::Now.ToUnixTimeSeconds()

 docker build -t gcr.io/{project}/{your deployment name}:$version .

 docker push gcr.io/{project}/{your deployment name}:$version

 $deployment_yaml = (Get-Content .\Conf\Prod\deployment.yaml) -replace "{{version}}", $version

 $deployment_yaml | kubectl apply -f -

here an example of deployment.yaml please note the I have added {version} placeholder

apiVersion: apps/v1
kind: Deployment
metadata:
  name: {your deployment name}
spec:
  replicas: 2
  selector:
    matchLabels:
      run: {your deployment name}
  template:
    metadata:
      creationTimestamp: null
      labels:
        run: {your deployment name}
    spec:
      containers:
      - image: gcr.io/{project}/{your deployment name}:{{version}}
        imagePullPolicy: IfNotPresent
        name: {your deployment name}
        ports:
        - containerPort: 8080
          protocol: TCP
        resources:
          limits:
            cpu: "2"
            memory: 2Gi
          requests:
            cpu: "2"
            memory: 2Gi

from google-cloud-visualstudio.

jskeet avatar jskeet commented on June 21, 2024

The Visual Studio extension is no longer supported or maintained, I'm afraid.

from google-cloud-visualstudio.

myappfree avatar myappfree commented on June 21, 2024

Thanks, could you please update the readme file to inform other developer that the project is not supported anymore?

from google-cloud-visualstudio.

jskeet avatar jskeet commented on June 21, 2024

Yes, I've asked the product manager responsible to do so. Apologies for that not being done before.

from google-cloud-visualstudio.

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.