Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alpeb committed May 30, 2024
1 parent 372404e commit 8c782fc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

jobs:
proxy-init-integration:
continue-on-error: true
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion cni-plugin/integration/manifests/flannel/linkerd-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ data:
"simulate": false,
"use-wait-flag": false,
"iptables-mode": "$IPTABLES_MODE",
"ipv6": true
"ipv6": false
}
}
---
Expand Down
2 changes: 1 addition & 1 deletion cni-repair-controller/integration/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ linkerd install-cni \
| kubectl apply -f -
linkerd check --pre --linkerd-cni-enabled
linkerd install --linkerd-cni-enabled | kubectl apply -f -
linkerd check
linkerd check || kubectl -n linkerd describe po

step 'Installing pause DaemonSet'
kubectl apply -f pause-ds.yml
Expand Down
12 changes: 6 additions & 6 deletions proxy-init/integration/iptables/iptablestest-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- name: iptables-test
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand All @@ -90,7 +90,7 @@ spec:
- name: linkerd-init
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -144,7 +144,7 @@ spec:
- name: linkerd-init
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -201,7 +201,7 @@ spec:
- name: linkerd-init
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "-r", "9090", "-r", "9099"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "-r", "9090", "-r", "9099", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -264,7 +264,7 @@ spec:
- name: linkerd-init
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "--inbound-ports-to-ignore", "6000-8000"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "--inbound-ports-to-ignore", "6000-8000", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -318,7 +318,7 @@ spec:
- name: linkerd-init
image: test.l5d.io/linkerd/proxy-init:test
imagePullPolicy: Never
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "--subnets-to-ignore", "0.0.0.0/0"]
args: ["-p", "8080", "-o", "8080", "-u", "2102", "-g", "2102", "--subnets-to-ignore", "0.0.0.0/0", "ipv6", "false"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
7 changes: 5 additions & 2 deletions proxy-init/integration/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ k run iptables-tester \
--restart=Never \
--rm \
-- \
go test -integration-tests
go test -integration-tests || true

k delete ns proxy-init-test
#k delete ns proxy-init-test
k get po -A
k -n proxy-init-test describe po pod-with-existing-rules
k -n proxy-init-test logs pod-with-existing-rules iptables-test

0 comments on commit 8c782fc

Please sign in to comment.