File tree Expand file tree Collapse file tree
Containers/Kubernetes-examples/CaaStle Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Pre-requisites:
2+ ----------------
3+ - Signup for Google Cloud Platform
4+ - https://cloud.google.com/free/
5+
6+ - Create a Google Cloud Platform Project from Google Cloud Console
7+ - Note down the Project-ID; You will have to provide it during
8+ application deployment
9+
10+
11+ 1) git clone https://github.com/cloud-ark/caastle.git
12+ 2) cd caastle
13+ 3) ./install.sh
14+ 4) cld setup gcloud
15+ - Follow the steps
16+ 5) ./start-caastle.sh
17+
18+ 6) cld app list
19+ 7) cd examples/greetings/
20+
21+ 8) Create Environment:
22+ - cld env create envapril4 environment-cloudsql-gke.yaml
23+ - cld env show envapril4
24+ - cld resource list
25+ - cld env show envapril4
26+
27+ more README.txt
28+
29+ 9) Build and Push Container:
30+ - cld container create contapril4 gcr
31+ - cld container show contapril4
32+
33+ more README.txt
34+
35+ 10) Deploy application container
36+ - Edit app-gcloud.yaml to include the container URI
37+ - emacs app-gcloud.yaml
38+
39+ 11) cld env list
40+
41+ 12) cld app deploy greetings-april4 envapril4 app-gcloud.yaml
42+
43+ - cld app show greetings-april4
44+ - cld app logs greetings-april4
45+ - more /home/devdatta/.cld/data/deployments/greetings-april4/2018-04-04-12-31-38/logs/greetings-april4.deploy-log <use your app's log path>
46+ - more /home/devdatta/.cld/data/deployments/greetings-april4/2018-04-04-12-31-38/logs/greetings-april4.runtime-log <use your app's log path>
47+
48+ - cld app list
49+ - cld container list
50+ - cld env list
51+ - cld app delete greetings-april4
52+ - cld env delete envapril4
53+ - cld container list
54+ - cld container delete contapril4
55+ - cld env list
56+ - cld resource list
Original file line number Diff line number Diff line change 1+ 1) git clone https://github.com/cloud-ark/caastle.git
2+
3+ 2) cd caastle
4+
5+ 3)
You can’t perform that action at this time.
0 commit comments