Skip to content

Commit e4c7d6b

Browse files
niklasnatterwachterjohannes
authored andcommitted
Delete obsolete .travis.yml file
1 parent 0cfe0e0 commit e4c7d6b

File tree

2 files changed

+5
-90
lines changed

2 files changed

+5
-90
lines changed

.travis.yml

-85
This file was deleted.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
This repository demonstrates how to deploy a Sulu application to a Kubernetes cluster using the [sulu/helm-charts](https://github.com/sulu/helm-charts).
44

5-
The default branch of the repository contains a clean Sulu application based on the [sulu/skeleton](https://github.com/sulu/skeleton).
5+
The default branch of the repository contains a clean Sulu application based on the [sulu/skeleton](https://github.com/sulu/skeleton).
66
The changes for adding the deployment are shown in the [pull request #1](https://github.com/sulu/k8s-example-deployment/pull/1).
77

88
### 1. Build your container
99

1010
```
11-
docker build . -t eu.gcr.io/sulu-io/sulu-cluster:1.0.0
11+
docker build . --target project -t eu.gcr.io/sulu-io/sulu-cluster:1.0.0
1212
docker push eu.gcr.io/sulu-io/sulu-cluster:1.0.0
1313
```
1414

1515
### 2. Create Cluster
1616

1717
```
18-
gcloud beta container --project "sulu-io" clusters create "my-first-cluster-1" --zone "europe-west3-c" --no-enable-basic-auth --cluster-version "1.15.12-gke.2" --release-channel "stable" --machine-type "g1-small" --image-type "COS" --disk-type "pd-standard" --disk-size "32" --metadata disable-legacy-endpoints=true --scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" --num-nodes "3" --no-enable-stackdriver-kubernetes --enable-ip-alias --network "projects/sulu-io/global/networks/default" --subnetwork "projects/sulu-io/regions/europe-west3/subnetworks/default" --default-max-pods-per-node "110" --no-enable-master-authorized-networks --addons HorizontalPodAutoscaling,HttpLoadBalancing --enable-autoupgrade --enable-autorepair --max-surge-upgrade 1 --max-unavailable-upgrade 0
18+
gcloud beta container --project "sulu-io" clusters create "my-first-cluster-1" --zone "europe-west3-c" --no-enable-basic-auth --cluster-version "1.19.9-gke.1900" --release-channel "regular" --machine-type "g1-small" --image-type "COS" --disk-type "pd-standard" --disk-size "32" --metadata disable-legacy-endpoints=true --scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" --num-nodes "3" --no-enable-stackdriver-kubernetes --enable-ip-alias --network "projects/sulu-io/global/networks/default" --subnetwork "projects/sulu-io/regions/europe-west3/subnetworks/default" --default-max-pods-per-node "110" --no-enable-master-authorized-networks --addons HorizontalPodAutoscaling,HttpLoadBalancing --enable-autoupgrade --enable-autorepair --max-surge-upgrade 1 --max-unavailable-upgrade 0
1919
```
2020

2121
### 3. Connect to cluster
@@ -39,12 +39,12 @@ Configure the redis password and the google cloud credentials in the secrets fil
3939
```
4040
cd deploy
4141
helm dep build
42-
helm install sulu-cluster . -f secrets.yaml
42+
helm install sulu-cluster . -f secrets.yaml --set=sulu.app.image.tag=1.0.0
4343
```
4444

4545
### 7. Upgrade App
4646

4747
```
4848
cd deploy
49-
helm upgrade sulu-cluster . -f secrets.yaml
49+
helm upgrade sulu-cluster . -f secrets.yaml --set=sulu.app.image.tag=1.0.1
5050
```

0 commit comments

Comments
 (0)