-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stub out e2e tests for apiserver ilb
- deploy apiserver ilb cluster in the e2e test - update e2e test for apiserver ilb
- Loading branch information
Showing
4 changed files
with
464 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
templates/test/ci/prow-apiserver-ilb/patches/node-shell-daemonset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.