github.com/cilium/cilium@v1.16.2/test/k8s/manifests/demo_ds_v6.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: testds-service-ipv6
     5  spec:
     6    ipFamilies:
     7    - IPv6
     8    ports:
     9    - name: http
    10      port: 80
    11      targetPort: 80
    12      protocol: TCP
    13    - name: tftp
    14      port: 69
    15      targetPort: 69
    16      protocol: UDP
    17    selector:
    18      zgroup: testDS
    19  ---
    20  apiVersion: v1
    21  kind: Service
    22  metadata:
    23    name: test-nodeport-ipv6
    24  spec:
    25    ipFamilies:
    26    - IPv6
    27    type: NodePort
    28    ports:
    29    - port: 10080
    30      targetPort: 80
    31      protocol: TCP
    32      name: http
    33    - port: 10069
    34      targetPort: 69
    35      protocol: UDP
    36      name: tftp
    37    selector:
    38      zgroup: testDS
    39  ---
    40  apiVersion: v1
    41  kind: Service
    42  metadata:
    43    name: test-affinity-ipv6
    44  spec:
    45    ipFamilies:
    46    - IPv6
    47    type: NodePort
    48    ports:
    49    - port: 10080
    50      targetPort: 80
    51      protocol: TCP
    52      name: http
    53    - port: 10069
    54      targetPort: 69
    55      protocol: UDP
    56      name: tftp
    57    sessionAffinity: ClientIP
    58    selector:
    59      zgroup: testDS
    60  ---
    61  apiVersion: v1
    62  kind: Service
    63  metadata:
    64    name: test-nodeport-local-ipv6
    65  spec:
    66    ipFamilies:
    67    - IPv6
    68    type: NodePort
    69    externalTrafficPolicy: Local
    70    ports:
    71    - port: 10080
    72      targetPort: 80
    73      protocol: TCP
    74      name: http
    75    - port: 10069
    76      targetPort: 69
    77      protocol: UDP
    78      name: tftp
    79    selector:
    80      zgroup: testDS
    81  ---
    82  apiVersion: v1
    83  kind: Service
    84  metadata:
    85    name: test-nodeport-local-k8s2-ipv6
    86  spec:
    87    ipFamilies:
    88    - IPv6
    89    type: NodePort
    90    externalTrafficPolicy: Local
    91    ports:
    92    - port: 10080
    93      targetPort: 80
    94      protocol: TCP
    95      name: http
    96    - port: 10069
    97      targetPort: 69
    98      protocol: UDP
    99      name: tftp
   100    selector:
   101      zgroup: test-k8s2
   102  ---
   103  apiVersion: v1
   104  kind: Service
   105  metadata:
   106    name: test-nodeport-k8s2-ipv6
   107  spec:
   108    ipFamilies:
   109    - IPv6
   110    type: NodePort
   111    ports:
   112    - port: 10080
   113      targetPort: 80
   114      protocol: TCP
   115      name: http
   116    - port: 10069
   117      targetPort: 69
   118      protocol: UDP
   119      name: tftp
   120    selector:
   121      zgroup: test-k8s2
   122  ---
   123  apiVersion: v1
   124  kind: Service
   125  metadata:
   126    name: test-external-ips-ipv6
   127  spec:
   128    ipFamilies:
   129    - IPv6
   130    type: NodePort
   131    ports:
   132    - port: 20080
   133      targetPort: 80
   134      protocol: TCP
   135      name: http
   136    - port: 20069
   137      targetPort: 69
   138      protocol: UDP
   139      name: tftp
   140    externalIPs:
   141    - fd03::999
   142    selector:
   143      zgroup: testDS