Skip to content

Commit 618b900

Browse files
matevzmihalicalexellis
authored andcommitted
Unify deployment file and update readme to use multi-arch images
Signed-off-by: Matevz Mihalic <[email protected]>
1 parent 5a57db7 commit 618b900

File tree

3 files changed

+5
-65
lines changed

3 files changed

+5
-65
lines changed

README.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Backlog completed:
2424
- [x] Tunnel L7 `http` traffic
2525
- [x] In-cluster Role, Dockerfile and YAML files
2626
- [x] Raspberry Pi / armhf build and YAML file
27+
- [x] ARM64 (Graviton/Odroid/Packet.com) Dockerfile/build and K8s YAML files
2728
- [ ] Ignore Services with `dev.inlets.manage: false` annotation
2829

2930
Backlog pending:
3031
- [ ] Garbage collect hosts when CRD is deleted
3132
- [ ] CI with Travis (use openfaas-incubator/openfaas-operator as a sample)
32-
- [ ] ARM64 (Graviton/Odroid/Packet.com) Dockerfile/build and K8s YAML files
3333
- [ ] Automate `wss://` for control-port
3434
- [ ] Move control-port and `/tunnel` endpoint to high port i.e. `31111`
3535
- [ ] Provision to EC2
@@ -68,28 +68,11 @@ You can also run the operator in-cluster, a ClusterRole is used since Services c
6868
kubectl create secret generic inlets-access-key \
6969
--from-literal inlets-access-key="$(cat ~/Downloads/do-access-token)"
7070

71-
kubectl apply -f ./aritifacts/crd.yaml
72-
73-
# Apply the operator deployment and RBAC role
74-
kubectl apply -f ./artifacts/operator-rbac.yaml
75-
kubectl apply -f ./artifacts/operator-amd64.yaml
76-
```
77-
78-
## Running on a Raspberry Pi (armhf), using DigitalOcean for the exit node
79-
80-
To get a LoadBalancer for services running on your Raspberry Pi, use the armhf deployment file:
81-
82-
```sh
83-
# Create a secret to store the access token
84-
85-
kubectl create secret generic inlets-access-key \
86-
--from-literal inlets-access-key="$(cat ~/Downloads/do-access-token)"
87-
88-
kubectl apply -f ./aritifacts/crd.yaml
71+
kubectl apply -f ./artifacts/crd.yaml
8972

9073
# Apply the operator deployment and RBAC role
9174
kubectl apply -f ./artifacts/operator-rbac.yaml
92-
kubectl apply -f ./artifacts/operator-armhf.yaml
75+
kubectl apply -f ./artifacts/operator.yaml
9376
```
9477

9578
## Run the Go binary with Packet.com

artifacts/operator-armhf.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

artifacts/operator-amd64.yaml renamed to artifacts/operator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccountName: inlets-operator
1919
containers:
2020
- name: operator
21-
image: alexellis/inlets-operator:0.2.6
21+
image: alexellis/inlets-operator:0.2.7
2222
imagePullPolicy: Always
2323
command:
2424
- ./inlets-operator
@@ -28,7 +28,7 @@ spec:
2828
- "-access-key-file=/var/secrets/inlets/inlets-access-key"
2929
env:
3030
- name: client_image
31-
value: alexellis2/inlets:2.5.0
31+
value: alexellis2/inlets:2.5.2
3232
resources:
3333
limits:
3434
memory: 128Mi

0 commit comments

Comments
 (0)