update figures
@@ -76,7 +76,10 @@ A few changes were introduced in this second edition:
|
||||
|
||||
- Moved to Kubernetes version v1.20. All commands and actions were tested with this version.
|
||||
- Added note about accessing services in local development Kubernetes clusters.
|
||||
- Added mentions of: parametrized pipelines, test results, code change detection.
|
||||
- Added mentions of new CI/CD features: parametrized pipelines, test results, code change detection.
|
||||
- DigitalOcean deployment now uses their Private Container Registry service instead of GitHub.
|
||||
- Updated setup steps for DigitalOcean, Google Cloud, and AWS.
|
||||
- Updated UI screenshots using higher resolution.
|
||||
- Minor fixes.
|
||||
|
||||
## How to Contact Us
|
||||
|
||||
@@ -22,7 +22,7 @@ result = 'passed' and (branch = 'master' or tag =~ '^hotfix*')
|
||||
|
||||
{ width=95% }
|
||||
|
||||
In the new pipeline, click on the first block. Let's call it “Push”. The push block takes the Docker image that we built earlier and uploads it to Docker Hub. The secrets and the login command will vary depending on the cloud of choice.
|
||||
In the new pipeline, click on the first block. Let's call it “Push”. The push block takes the Docker image that we built earlier and uploads it to the private Container Registry. The secrets and the login command will vary depending on the cloud of choice.
|
||||
|
||||
Open the *Secrets* section and check the `do-key` secret.
|
||||
|
||||
@@ -42,7 +42,6 @@ docker tag \
|
||||
registry.digitalocean.com/$REGISTRY_NAME/demo:$SEMAPHORE_WORKFLOW_ID
|
||||
|
||||
doctl auth init -t $DO_ACCESS_TOKEN
|
||||
|
||||
doctl registry login
|
||||
|
||||
docker push \
|
||||
@@ -335,13 +334,13 @@ $ kubectl logs --previous <pod-name>
|
||||
If you need to jump in one of the containers, you can start a shell as long as the pod is running with:
|
||||
|
||||
``` bash
|
||||
$ kubectl exec -it <pod-name> -- bash
|
||||
$ kubectl exec -it <pod-name> -- sh
|
||||
```
|
||||
|
||||
To access a pod network from your machine, forward a port with `port-forward`, for instance:
|
||||
|
||||
``` bash
|
||||
$ kubectl port-forward <pod-name> 8080:80
|
||||
$ kubectl port-forward <pod-name> 8080:80
|
||||
```
|
||||
|
||||
These are some common error messages that you might run into:
|
||||
|
||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 274 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 259 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 61 KiB |