https://github.com/larsks/so-example-72059674
https://github.com/larsks/so-example-72059674
example stackoverflow
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/larsks/so-example-72059674
- Owner: larsks
- Created: 2022-04-29T16:24:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T16:24:53.000Z (over 3 years ago)
- Last Synced: 2025-09-09T07:41:22.382Z (4 months ago)
- Topics: example, stackoverflow
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository accompanies my answer to .
## Building the container image
```
podman build -t whatevernameyouchoose .
podman push whatevernameyouchoose registry.example.com/yourname/imagename:tag
```
You can use `docker` instead of `podman` if you want.
## Deploying things into Kubernetes
You'll probably want to edit (a) `config/authorized_keys` to add valid ssh keys, (b) `deploy.yaml` to update the image to whatever you build in the previous step.
When you're ready to deploy:
```
kubectl apply -k .
```
You can re-run the above command after making changes to either `config/sshd_config` or `config/authorized_keys`.