Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.01 KB

quickstart.md

File metadata and controls

62 lines (48 loc) · 1.01 KB

Quick Start

Clone

mkdir -p $GOPATH/src/sigs.k8s.io
cd $GOPATH/src/sigs.k8s.io

# clone
git clone [email protected]:kubernetes-sigs/application.git

Deploy to cluster

# deploy to cluster
make deploy

# un-deploy from cluster
make undeploy

Dev Quick Start

Fork and clone

mkdir -p $GOPATH/src/sigs.k8s.io
cd $GOPATH/src/sigs.k8s.io

# fork https://github.com/kubernetes-sigs/application
# clone
GITHUBID=<githubid>
git clone [email protected]:${GITHUBID}/application.git $GOPATH/src/sigs.k8s.io/application

Run locally

# create local cluster
make e2e-setup

# install CRD
make deploy-crd

# run locally
make run

# tear down
make e2e-cleanup

Run against cluster

# The default image is `gcr.io/$(shell gcloud config get-value project)/kube-app-manager`
# to use different image edit VERSION-DEV file

# build docker image
make docker-build
make docker-push

# deploy to cluster. This generates the manifests and deploys
make deploy-dev

# deploy example
make deploy-wordpress