Giter VIP home page Giter VIP logo

Comments (4)

ldbl avatar ldbl commented on July 17, 2024

Btw this is the result if I use this docker file only change is the version

FROM linkyard/concourse-helm-resource:2.6.2

ENV PATH=$PATH:/opt/google-cloud-sdk/bin
ENV GCLOUD_SDK_VERSION=234.0.0
ENV GCLOUD_SDK_URL=https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_SDK_VERSION}-linux-x86_64.tar.gz

# Add helm-gcs pluginf
RUN helm init --client-only && \
    helm plugin install https://github.com/viglesiasce/helm-gcs.git --version v0.2.0

# Install gcloud
RUN apk update && apk add curl openssl python \
 && mkdir -p /opt && cd /opt \
 && wget -q -O - $GCLOUD_SDK_URL |tar zxf - \
 && /bin/bash -l -c "echo Y | /opt/google-cloud-sdk/install.sh && exit"

It works fine even the helm on the server is completely different version.

Initializing kubectl...
Cluster "default" set.
User "admin" set.
Context "default" created.
Switched to context "default".
Kubernetes master is running at https://kubernetes
GLBCDefaultBackend is running at https://kubernetes/api/v1/namespaces/kube-system/services/default-http-backend/proxy
Heapster is running at https://kubernetes/api/v1/namespaces/kube-system/services/heapster/proxy
KubeDNS is running at https://kubernetes/api/v1/namespaces/kube-system/services/kube-dns/proxy
Metrics-server is running at https://kubernetes/api/v1/namespaces/kube-system/services/metrics-server/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Currently deployed namespaces on https://kubernetes:
NAME          STATUS    AGE
default       Active    2d
kube-public   Active    2d
kube-system   Active    2d
Initializing helm...
Client: &version.Version{SemVer:"v2.6.2", GitCommit:"be3ae4ea91b2960be98c07e8f73754e67e87963c", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}
Installing helm repository gcs-repo gs://modular-robot-222611-helm-repo
"gcs-repo" has been added to your repositories
Resource setup successful.
Upgrading dev-site
Running command helm upgrade dev-site --set image.repository=gcr.io/modular-robot-222611/app-image --set image.digest=sha256:5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 gcs-repo/"nginx" | tee /tmp/log
Release "dev-site" has been upgraded. Happy Helming!
LAST DEPLOYED: Fri Feb 15 10:33:36 2019
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==> v1/ConfigMap
NAME                   DATA  AGE
dev-site-nginx-static  1     35m

==> v1/Service
NAME            TYPE       CLUSTER-IP    EXTERNAL-IP  PORT(S)  AGE
dev-site-nginx  ClusterIP  10.3.240.104  <none>       80/TCP   35m

==> v1beta1/Deployment
NAME            DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
dev-site-nginx  1        2        1           1          35m

==> v1/Pod(related)
NAME                             READY  STATUS   RESTARTS  AGE
dev-site-nginx-78f78f6b58-bqm6l  1/1    Running  0         35m
dev-site-nginx-bd97c7b66-hpkqc   0/1    Pending  0         0s


NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace default -l "app=nginx,release=dev-site" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl port-forward $POD_NAME 8080:80

Deployed revision 2 of dev-site

from concourse-helm-resource.

msiegenthaler avatar msiegenthaler commented on July 17, 2024

Hm, that's really strange, deploying with a version mismatch should not work.. maybe 2.6.2 is so old that it does not even check.
Are you still working on it or may I close the issue?

from concourse-helm-resource.

ldbl avatar ldbl commented on July 17, 2024

Hi , I fixed this by removing the quotes.
gcs-repo/"nginx" to gcs-repo/nginx
You can close this .

from concourse-helm-resource.

msiegenthaler avatar msiegenthaler commented on July 17, 2024

Great, thanks for the feedback!

from concourse-helm-resource.

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.