https://github.com/astj/sandbox-container-agent
https://github.com/astj/sandbox-container-agent
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/astj/sandbox-container-agent
- Owner: astj
- Created: 2020-10-13T08:37:08.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-29T03:06:14.000Z (almost 6 years ago)
- Last Synced: 2025-10-03T17:57:54.114Z (10 months ago)
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sandbox
secret
```
export MACKEREL_APIKEY=...
kubectl create secret generic mackerel-container-agent --from-literal "MACKEREL_APIKEY=${MACKEREL_APIKEY}"
```
deploy
```
export IMAGE_NAME=mackerel/mackerel-container-agent:latest
cat pod.yml | envsubst | kubectl apply -f -
```
ekstl
```
export AWS_PROFILE=...
eksctl create cluster -f eksctl.yml
```
You might need some hacks when MFA enabled for AWS:
```
FILE=$(mktemp); cat pod_eks.yml | envsubst > $FILE; kubectl apply -f $FILE; rm $FILE
```