Skip to content

Commit 4550dac

Browse files
committed
docs: fix build badge
chore: reduce resource limits in deployment.yml
1 parent 748064b commit 4550dac

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> An example configuration and usage of GitHub Actions [self hosted runners](https://help.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners) on [Anthos GKE](https://cloud.google.com/anthos/gke).
44
5-
![Self Hosted Runner CI/CD ](https://github.com/github-developer/self-hosted-runners-anthos/workflows/.github/workflows/cicd.yml/badge.svg)
5+
![Build status](https://github.com/github-developer/self-hosted-runners-anthos/workflows/Self%20Hosted%20Runner%20CI/CD/badge.svg)
66

77
A Continuous Integration [job](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs) builds the image and publishes it to Google Container Registry, and a Continuous Deployment job deploys it to Google Kubernetes Engine (GKE). The self hosted runners in this cluster are made available to the GitHub repository configured via the `GITHUB_REPO` environment variable below.
88

deployment.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,15 @@ spec:
3939
]
4040
resources:
4141
limits:
42-
memory: "512Mi"
43-
cpu: "250m"
42+
memory: "256Mi"
43+
cpu: "100m"
4444
# Docker-in-Docker not recommended for production
4545
- name: dind
4646
image: docker:18.09-dind
4747
resources:
48-
requests:
49-
memory: "256Mi"
50-
cpu: "250m"
5148
limits:
52-
memory: "512Mi"
53-
cpu: "250m"
49+
memory: "256Mi"
50+
cpu: "100m"
5451
securityContext:
5552
privileged: true
5653
volumeMounts:

0 commit comments

Comments
 (0)