Skip to content
Snippets Groups Projects

Resolved: Gonrg 1890 update composer

Merged Mykola Zamkovyi (EPAM) requested to merge GONRG-1890_update_composer into master
Files
4
+ 37
0
#### Policy Service infrastructure script:
This is optional feature for 3-thd party service
Script create GKE One Node Cluster for Policy Service
To run this script need to have service account key and define project (variable $GCLOUD_PROJECT) where are will be roll-out GKE cluster
```shell script
./create-gke.sh
```
#### What script "create-gke.sh" do:
Create GKE cluster
```shell script
gcloud beta container clusters create $GCLOUD_PROJECT-gke-deployments \
--zone=us-central1-c \
--addons=Istio --istio-config=auth=MTLS_STRICT \
--cluster-version=1.17.15-gke.800 \
--machine-type=n1-standard-2 \
--num-nodes=1
```
Connect to the cluster using command
```shell script
gcloud container clusters get-credentials $GCLOUD_PROJECT-gke-deployments --zone us-central1-c --project $GCLOUD_PROJECT
```
Create namespace "osdu"
```shell script
kubectl create namespace osdu
```
Label namespace "osdu"
```shell script
kubectl label namespace osdu istio-injection=enabled
```
Now you can begin deploying Policy Service
Loading