File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM k8s.gcr .io/e2e-test-images/agnhost:2.36
1
+ FROM registry.k8s .io/e2e-test-images/agnhost:2.36
2
2
3
3
ENTRYPOINT ["/worker" ]
4
4
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ namespace x). There are three modes to test network policies in:
24
24
25
25
Tests can run over multiple protocols and ports. A typical test run includes protocols TCP and UDP (often
26
26
SCTP as well), and ports 80 and 81. Each port/protocol combination is served by a container running ` agnhost ` (docker
27
- image: k8s.gcr .io/e2e-test-images/agnhost) which is capable of serving a specific protocol on a specific port. Thus,
27
+ image: registry.k8s .io/e2e-test-images/agnhost) which is capable of serving a specific protocol on a specific port. Thus,
28
28
if your test includes protocols TCP and UDP, and ports 80 and 81, each pod will have 4 containers. Named ports are
29
29
included as well -- ` serve-80-udp ` is the name for port 80 on UDP.
30
30
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ pushd "$CNI"
27
27
popd
28
28
29
29
# preload agnhost image
30
- docker pull k8s.gcr .io/e2e-test-images/agnhost:2.36
31
- kind load docker-image k8s.gcr .io/e2e-test-images/agnhost:2.36 --name " $CLUSTER_NAME "
30
+ docker pull registry.k8s .io/e2e-test-images/agnhost:2.36
31
+ kind load docker-image registry.k8s .io/e2e-test-images/agnhost:2.36 --name " $CLUSTER_NAME "
32
32
33
33
# make sure that the new kind cluster is the current kubectl context
34
34
kind get clusters
Original file line number Diff line number Diff line change @@ -2,17 +2,18 @@ package probe
2
2
3
3
import (
4
4
"fmt"
5
+ "strings"
6
+
5
7
"github.com/mattfenwick/collections/pkg/slice"
6
8
"github.com/mattfenwick/cyclonus/pkg/generator"
7
9
"github.com/mattfenwick/cyclonus/pkg/kube"
8
10
"github.com/pkg/errors"
9
11
v1 "k8s.io/api/core/v1"
10
12
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
11
- "strings"
12
13
)
13
14
14
15
const (
15
- agnhostImage = "k8s.gcr .io/e2e-test-images/agnhost:2.36"
16
+ agnhostImage = "registry.k8s .io/e2e-test-images/agnhost:2.36"
16
17
cyclonusWorkerImage = "mfenwick100/cyclonus-worker:latest"
17
18
)
18
19
You can’t perform that action at this time.
0 commit comments