Skip to content

Commit 27aa4b1

Browse files
committed
Refresh README tone and concision
1 parent 0b72e76 commit 27aa4b1

File tree

1 file changed

+16
-38
lines changed

1 file changed

+16
-38
lines changed

README.md

Lines changed: 16 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,23 @@
1-
# ssh-check
1+
# Ssh Check
2+
23
Check ssh connectivity to nodes within a cluster
34

4-
This check requires two environment variables in the kube spec used to deploy it. An ssh key, and the user.
5+
## What it is
6+
This repository builds the container image used by Kuberhealthy to run the ssh-check check.
57

6-
**Example yaml**
8+
## Image
9+
- `docker.io/kuberhealthy/ssh-check`
10+
- Tags: short git SHA for `main` pushes and `vX.Y.Z` for releases.
711

8-
```yaml
9-
---
10-
apiVersion: kuberhealthy.github.io/v2
11-
kind: KuberhealthyCheck
12-
metadata:
13-
name: ssh-check
14-
namespace: kuberhealthy
15-
spec:
16-
runInterval: 5m
17-
timeout: 2m
18-
extraAnnotations:
19-
comcast.com/testAnnotation: test.annotation
20-
extraLabels:
21-
testLabel: testLabel
22-
podSpec:
23-
containers:
24-
- name: ssh-check
25-
image: rjacks161/ssh-check:v3.0.0
26-
imagePullPolicy: IfNotPresent
27-
env:
28-
- name: SSH_PRIVATE_KEY
29-
value: "CHANGE_ME"
30-
- name: SSH_USERNAME
31-
value: "CHANGEME"
32-
- name: SSH_EXCLUDE_LIST
33-
value: "CHANGEME1 CHANGEME2"
34-
resources:
35-
requests:
36-
cpu: 10m
37-
memory: 50Mi
38-
```
12+
## Quick start
13+
- Apply the example manifest: `kubectl apply -f ssh-check.yaml`
14+
- Edit the manifest to set any required inputs for your environment.
3915

40-
#### How-to
16+
## Build locally
17+
- `docker build -f ./Dockerfile -t kuberhealthy/ssh-check:dev .`
4118

42-
Apply a `.yaml` file similar to the one shown above with `kubectl apply -f`
19+
## Contributing
20+
Issues and PRs are welcome. Please keep changes focused and add a short README update when behavior changes.
4321

44-
#### SSH Exclude List
45-
The exclude list is a space delimited list of node names that the user would like to exclude from the ssh check.
22+
## License
23+
See `LICENSE`.

0 commit comments

Comments
 (0)