istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/test/framework/components/echo/cmd/echogen/testdata/golden.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    labels:
     5      app: a
     6    name: a
     7    namespace: echo
     8  spec:
     9    ports:
    10    - name: http
    11      port: 80
    12      targetPort: 18080
    13    - name: grpc
    14      port: 7070
    15      targetPort: 17070
    16    - name: http2
    17      port: 85
    18      targetPort: 18085
    19    - name: tcp
    20      port: 9090
    21      targetPort: 19090
    22    - name: https
    23      port: 443
    24      targetPort: 18443
    25    - name: tcp-server
    26      port: 9091
    27      targetPort: 16060
    28    - name: auto-tcp
    29      port: 9092
    30      targetPort: 19091
    31    - name: auto-tcp-server
    32      port: 9093
    33      targetPort: 16061
    34    - name: auto-http
    35      port: 81
    36      targetPort: 18081
    37    - name: auto-grpc
    38      port: 7071
    39      targetPort: 17071
    40    - name: auto-https
    41      port: 9443
    42      targetPort: 19443
    43    - name: http-instance
    44      port: 82
    45      targetPort: 18082
    46    - name: http-localhost
    47      port: 84
    48      targetPort: 18084
    49    - name: tcp-for-http
    50      port: 86
    51      targetPort: 18086
    52    selector:
    53      app: a
    54  ---
    55  apiVersion: apps/v1
    56  kind: Deployment
    57  metadata:
    58    name: a-v1
    59    namespace: echo
    60  spec:
    61    replicas: 1
    62    selector:
    63      matchLabels:
    64        app: a
    65        version: v1
    66    template:
    67      metadata:
    68        annotations:
    69          prometheus.io/port: "15014"
    70          prometheus.io/scrape: "true"
    71        labels:
    72          app: a
    73          test.istio.io/class: standard
    74          version: v1
    75      spec:
    76        containers:
    77        - image: auto
    78          imagePullPolicy: IfNotPresent
    79          name: istio-proxy
    80          securityContext:
    81            readOnlyRootFilesystem: false
    82        - args:
    83          - --metrics=15014
    84          - --cluster=fake
    85          - --port=18080
    86          - --grpc=17070
    87          - --port=18085
    88          - --tcp=19090
    89          - --port=18443
    90          - --tls=18443
    91          - --tcp=16060
    92          - --server-first=16060
    93          - --tcp=19091
    94          - --tcp=16061
    95          - --server-first=16061
    96          - --port=18081
    97          - --grpc=17071
    98          - --port=19443
    99          - --tls=19443
   100          - --port=18082
   101          - --bind-ip=18082
   102          - --port=18084
   103          - --bind-localhost=18084
   104          - --tcp=19092
   105          - --port=18083
   106          - --port=18086
   107          - --port=8080
   108          - --port=3333
   109          - --version=v1
   110          - --istio-version=
   111          - --crt=/cert.crt
   112          - --key=/cert.key
   113          env:
   114          - name: INSTANCE_IP
   115            valueFrom:
   116              fieldRef:
   117                fieldPath: status.podIP
   118          - name: NAMESPACE
   119            valueFrom:
   120              fieldRef:
   121                fieldPath: metadata.namespace
   122          image: testhub/app:testtag
   123          imagePullPolicy: IfNotPresent
   124          livenessProbe:
   125            failureThreshold: 10
   126            initialDelaySeconds: 10
   127            periodSeconds: 10
   128            tcpSocket:
   129              port: tcp-health-port
   130          name: app
   131          ports:
   132          - containerPort: 18080
   133          - containerPort: 17070
   134          - containerPort: 18085
   135          - containerPort: 19090
   136          - containerPort: 18443
   137          - containerPort: 16060
   138          - containerPort: 19091
   139          - containerPort: 16061
   140          - containerPort: 18081
   141          - containerPort: 17071
   142          - containerPort: 19443
   143          - containerPort: 18082
   144          - containerPort: 18084
   145          - containerPort: 19092
   146          - containerPort: 18083
   147          - containerPort: 18086
   148          - containerPort: 8080
   149          - containerPort: 3333
   150            name: tcp-health-port
   151          readinessProbe:
   152            failureThreshold: 10
   153            httpGet:
   154              path: /
   155              port: 8080
   156            initialDelaySeconds: 1
   157            periodSeconds: 2
   158          startupProbe:
   159            failureThreshold: 10
   160            periodSeconds: 1
   161            tcpSocket:
   162              port: tcp-health-port