nodeshift / helm Goto Github PK
View Code? Open in Web Editor NEWSample Helm Chart templates for packaging your Node.js application for deployment to Kubernetes
License: Apache License 2.0
Sample Helm Chart templates for packaging your Node.js application for deployment to Kubernetes
License: Apache License 2.0
I'm using microk8s
, and my colleagues who are using minikube
have the same issue.
$ microk8s.kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:27:17Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
$ microk8s.helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
$ git log -1
commit fc5a81709888954bc73467a27b356038c4f2a54e (HEAD -> master, origin/master, origin/HEAD)
Merge: 26298b9 7fec8f7
Author: Neeraj Laad <[email protected]>
Date: Mon May 20 15:33:58 2019 +0100
Merge pull request #2 from seabaylea/live-ready
Make the use of liveness and readiness configurable
$ microk8s.helm install --name nodeserver chart/nodeserver
Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
The reason behind this error should be similar to the one for this issue: helm/helm#6374
After the helm install . command. I get a text that tells me:
Congratulations, you have deployed your Node.js Application to Kubernetes using Helm!
To verify your application is running, run the following two commands to set the SAMPLE_NODE_PORT and SAMPPLE_NODE_IP environment variables to the location of your application:
export SAMPLE_NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services nodeserver-service)
export SAMPLE_NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
And then open your web browser to http://${SAMPLE_NODE_IP}:${SAMPLE_NODE_PORT}" from the command line, eg:
open http://${SAMPLE_NODE_IP}:${SAMPLE_NODE_PORT}
However when running the export on windows it fails to run.
Could I contribute in adding the configuration process for windows users. This is an amazing project and I would want to continue with the good work started.
The export can be changed to setx or SET and the $ can be converted to ""
I hope to hear if this is what you might want included
This repo and their forks are really under-maintained.
I'd like to recommend the usage of https://github.com/bitnami/charts/tree/master/bitnami/node/#installing-the-chart
as a reference for up-to-date charts.
Would be nice to pin this to get visibility.
Maybe a stupid question, but what if I only want to deploy on my local machine without using DockerHub?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.