Skip to content

Commit b00d683

Browse files
committed
node-installer: update MicroK8s integration test to use microk8s enable ingress
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent c12a82a commit b00d683

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

node-installer/integration-test-microk8s.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ echo "=== Step 5: Test the workload ==="
7979
echo "Waiting for service to be ready..."
8080
sleep 10
8181

82-
kubectl enable ingress
82+
sudo microk8s enable ingress
8383
sleep 5
8484

8585
echo "Testing workload with curl..."

node-installer/k3s-kwasm-job.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
labels:
5+
job-name: k3s-provision-kwasm
6+
name: k3s-provision-kwasm-dev
7+
namespace: kwasm
8+
spec:
9+
containers:
10+
- env:
11+
- name: NODE_ROOT
12+
value: /mnt/node-root
13+
image: ghcr.io/spinkube/containerd-shim-spin/node-installer:dev
14+
imagePullPolicy: IfNotPresent
15+
name: kwasm-provision
16+
securityContext:
17+
privileged: true
18+
volumeMounts:
19+
- mountPath: /mnt/node-root
20+
name: root-mount
21+
hostPID: true
22+
nodeName: devbox-5
23+
restartPolicy: Never
24+
volumes:
25+
- hostPath:
26+
path: /
27+
name: root-mount

0 commit comments

Comments
 (0)