Skip to content

Commit

Permalink
stub out e2e tests for apiserver ilb
Browse files Browse the repository at this point in the history
- deploy apiserver ilb cluster in the e2e test
- update e2e test for apiserver ilb
  • Loading branch information
nawazkh committed Dec 12, 2024
1 parent a071025 commit 265884f
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-debug
namespace: kube-system
spec:
selector:
matchLabels:
app: node-debug
template:
metadata:
labels:
app: node-debug
spec:
containers:
- name: node-debug
image: busybox:1.35
securityContext:
privileged: true # Elevated privileges for accessing host resources
command:
- sh
- -c
- "sleep infinity"
volumeMounts:
- mountPath: /host/etc/hosts
name: etc-hosts
readOnly: true # Read-only for safety
volumes:
- name: etc-hosts
hostPath:
path: /etc/hosts
type: File
Loading

0 comments on commit 265884f

Please sign in to comment.