Skip to content

Commit

Permalink
updated docker image to titiler-aks
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi committed Jun 30, 2022
1 parent 81d82d8 commit a6bbcec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Create and publish a Docker image
on:
push:
branches: ['main']
# branches: ['main']
tags:
- 'v*'
workflow_dispatch:
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ Run the `deploy.sh` script to setup Traefik load balancer with 3 titiler pods.

Run `delete.sh` to cleanup the Kubernetes environment.

## Update titiler Docker image to AKS

Docker image will be deployed to Github Package by [docker-image.yaml](.github/workflows/docker-image.yaml)

Update tag version of `titiler-ask` in `manifest.yml`, then execute the following commands to apply.

```zsh
kubectl config use-context GeoKube01
kubectl config set-context $(kubectl config current-context) --namespace=titiler-dev
kubectl apply -f manifest.yml --namespace titiler-dev
```

## References

- https://medium.com/geekculture/traefik-ingress-on-azure-kubernetes-service-fa498ba7e4b4
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: titiler
image: ghcr.io/undp-data/titiler:latest
image: ghcr.io/undp-data/titiler-aks:main
resources:
limits:
memory: "2048Mi"
Expand Down

0 comments on commit a6bbcec

Please sign in to comment.