Skip to content

Commit

Permalink
docs: docs about how to run local minikube cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
yingtingxu committed Jun 11, 2024
1 parent dc97147 commit b7ec6f4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ jobs:
if: success() || failure()
with:
sarif_file: "${{ steps.scan.outputs.sarif }}"
- name: Log into container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish container image
run: docker push ghcr.io/${{ github.actor }}/catalog-service:latest
# - name: Log into container registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Publish container image
# run: docker push ghcr.io/${{ github.actor }}/catalog-service:latest
5 changes: 0 additions & 5 deletions mall-catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,4 @@ docker rm -f catalog-service mall-postgres
-Pregistry=ghcr.io \
-Pusername=<your_github_username> \
-Ppassword=<your_github_token>
```
# Running minikube dashboard
```bash
minikube dashboard --profile mall
```
3 changes: 0 additions & 3 deletions mall-deployment/kubernetes/local-k8s-cluster

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Create a named mall k8s cluster with two cpu cores and 4G memory
minikube start --cpus 2 --memory 4g --driver docker --profile mall
```

Running dashboard
```bash
minikube dashboard --profile mall
```

Get nodes of the mall cluster

```bash
Expand Down

0 comments on commit b7ec6f4

Please sign in to comment.