Skip to content

Commit

Permalink
Delete obsolete .travis.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasnatter authored and wachterjohannes committed Jun 10, 2021
1 parent 0cfe0e0 commit e4c7d6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 90 deletions.
85 changes: 0 additions & 85 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

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

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

### 1. Build your container

```
docker build . -t eu.gcr.io/sulu-io/sulu-cluster:1.0.0
docker build . --target project -t eu.gcr.io/sulu-io/sulu-cluster:1.0.0
docker push eu.gcr.io/sulu-io/sulu-cluster:1.0.0
```

### 2. Create Cluster

```
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
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
```

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

### 7. Upgrade App

```
cd deploy
helm upgrade sulu-cluster . -f secrets.yaml
helm upgrade sulu-cluster . -f secrets.yaml --set=sulu.app.image.tag=1.0.1
```

0 comments on commit e4c7d6b

Please sign in to comment.