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
package main | |
import ( | |
"errors" | |
"fmt" | |
"net" | |
"strings" | |
) | |
// IPFamily refers to a specific family if not empty, i.e. "4" or "6". |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"net" | |
"strings" | |
) | |
// IPFamily refers to a specific family if not empty, i.e. "4" or "6". |
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
[ec2-user@ip-10-0-10-42 ~]$ kubectl get pods -A -o wide | |
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES | |
kube-system coredns-85cb69466-kqsq5 1/1 Running 0 110s 10.42.0.6 ip-10-0-10-42.eu-west-3.compute.internal <none> <none> | |
kube-system local-path-provisioner-64ffb68fd-gzr7c 1/1 Running 0 110s 10.42.0.2 ip-10-0-10-42.eu-west-3.compute.internal <none> <none> | |
kube-system metrics-server-9cf544f65-m7tnb 1/1 Running 0 110s 10.42.0.4 ip-10-0-10-42.eu-west-3.compute.internal <none> <none> | |
kube-system helm-install-traefik-crd--1-4ktw4 0/1 Completed 0 111s 10.42.0.5 ip-10-0-10-42.eu-west-3.compute.internal <none> <none> | |
kube-system helm-install-traefik--1-6nwxj 0/1 Completed 1 111s 1 |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: multitool | |
name: multitool-deployment | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: |
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
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
default details ClusterIP 10.105.173.58 <none> 9080/TCP 3h19m | |
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 3d23h | |
default productpage ClusterIP 10.111.125.162 <none> 9080/TCP 3h19m | |
default ratings ClusterIP 10.108.3.133 <none> 9080/TCP |
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
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: iperf-admin | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: suse:caasp:psp:privileged | |
subjects: |
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
test1: | |
mgmt_interface: eth0 | |
mgmt_vlan: native | |
mgmt_address: "1.1.1.1" | |
test2: | |
mgmt_interface: eth1 | |
mgmt_vlan: 10 | |
address: "127.0.0.1" |