Skip to content

Charlesthebird/example-express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This can be used as an example node.js express server app.

You can build this app yourself by changing the tag and context here and running the following. Make sure that you are logged in to docker with docker login.

export IMAGE_NAME=docker_username/example-server-app
export REMOTE_CONTEXT=your-remote-context
export REMOTE_CLUSTER=your-remote-cluster
docker build . -t $IMAGE_NAME && \
docker push $IMAGE_NAME && \
kubectl apply --context=$REMOTE_CONTEXT -f ./kubernetes/namespace.yaml && \
cat ./kubernetes/deployment.yaml | \
    envsubst | \
    kubectl apply --context=$REMOTE_CONTEXT -f -
kubectl apply --context=$REMOTE_CONTEXT -f ./kubernetes/service.yaml && \
cat ./kubernetes/route_table.yaml | \
    envsubst | \
    kubectl apply --context=$REMOTE_CONTEXT -f -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published