Public | Automated Build

Last pushed: a month ago
Short Description
Hello World for Kubernetes
Full Description

Kubernetes Hello World

Provison k8 Cluster

VERSION=prod # e.g. dev, test, demo, prod
./deploy/az_create_k8_cluster $VERSION

Activate k8 Cluster

# Activate 'prod'
./deploy/az_k8_activate prod

Build and Push App To Registry

# Builds local image
make build

# Builds and pushes as tag:latest
make release

# Builds and pushes as tag:1.0
VERSION=1.0 make release

Test

# Test tag:latest with local docker
make test

# Test tag:1.0
VERSION=1.0 make test with local docker

# Deploy to active k8 and test tag:latest
make test_k8

# Deploy to active k8 and test tag:1.0
VERSION=1.0 make test_k8

Deploy

# Create service (Load Balancer) for deployment
make service

# Deploy tag:latest to active k8 cluster
make deploy

# Deploy tag:1.0 to active k8 cluster
VERSION=1.0 make deploy
Docker Pull Command
Owner
wrnu
Source Repository

Comments (0)