TonyRice / stack-kubernetes

Storytelling on Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stack-kubernetes

Bootstrap the Asyncy Platform on Kubernetes

Prerequisites

Install

  • Confirm that kubectl is set to the right context
kubectl config current-context
  • Check kubernetes cluster health
kubectl cluster-info
  • GKE: Grant cluster-admin to your current identity
# Get identity
gcloud info | grep Account

# Grant cluster-admin to your identity
kubectl create clusterrolebinding myname-cluster-admin-binding --clusterrole=cluster-admin --user=myname@example.org
  • Install Istio - optional (not recommended for development environments)
./run.sh istio-install
  • Install Asyncy
./run.sh asyncy-install

Development

Update your deployed application continuously

  • Watches Asyncy platform project source code for any changes and automatically runs a build and deploy when changes are detected. Asyncy platform projects are assumed to be checked out back one directory. See skaffold.yaml for configuration.
./run.sh asyncy-dev

Deploy

Run the Asyncy Skaffold pipeline once

./run.sh deploy

About

Storytelling on Kubernetes

License:Apache License 2.0


Languages

Language:Shell 100.0%