github.com/verrazzano/verrazzano@v1.7.1/tools/vz/pkg/internal/test/cluster/problem-pods-install/cluster-snapshot/verrazzano-ingress-nginx/deployments.json (about)

     1  {
     2      "kind": "DeploymentList",
     3      "apiVersion": "apps/v1",
     4      "metadata": {
     5          "resourceVersion": "21706"
     6      },
     7      "items": [
     8          {
     9              "metadata": {
    10                  "name": "ingress-controller-ingress-nginx-controller",
    11                  "namespace": "verrazzano-ingress-nginx",
    12                  "uid": "a74e0460-5df0-4197-a1b2-33ed77df2cce",
    13                  "resourceVersion": "4677",
    14                  "generation": 1,
    15                  "creationTimestamp": "2022-06-16T10:20:04Z",
    16                  "labels": {
    17                      "app.kubernetes.io/component": "controller",
    18                      "app.kubernetes.io/instance": "ingress-controller",
    19                      "app.kubernetes.io/managed-by": "Helm",
    20                      "app.kubernetes.io/name": "ingress-nginx",
    21                      "app.kubernetes.io/version": "1.1.1",
    22                      "helm.sh/chart": "ingress-nginx-4.0.15"
    23                  },
    24                  "annotations": {
    25                      "deployment.kubernetes.io/revision": "1",
    26                      "meta.helm.sh/release-name": "ingress-controller",
    27                      "meta.helm.sh/release-namespace": "verrazzano-ingress-nginx"
    28                  }
    29              },
    30              "spec": {
    31                  "replicas": 1,
    32                  "selector": {
    33                      "matchLabels": {
    34                          "app.kubernetes.io/component": "controller",
    35                          "app.kubernetes.io/instance": "ingress-controller",
    36                          "app.kubernetes.io/name": "ingress-nginx"
    37                      }
    38                  },
    39                  "template": {
    40                      "metadata": {
    41                          "creationTimestamp": null,
    42                          "labels": {
    43                              "app.kubernetes.io/component": "controller",
    44                              "app.kubernetes.io/instance": "ingress-controller",
    45                              "app.kubernetes.io/name": "ingress-nginx"
    46                          },
    47                          "annotations": {
    48                              "prometheus.io/port": "10254",
    49                              "prometheus.io/scrape": "true",
    50                              "sidecar.istio.io/rewriteAppHTTPProbers": "true",
    51                              "system.io/scrape": "true",
    52                              "traffic.sidecar.istio.io/excludeInboundPorts": "80,443",
    53                              "traffic.sidecar.istio.io/includeInboundPorts": ""
    54                          }
    55                      },
    56                      "spec": {
    57                          "volumes": [
    58                              {
    59                                  "name": "custom-400-error",
    60                                  "configMap": {
    61                                      "name": "ingress-controller-ingress-nginx-defaultbackend-custom-error-pages",
    62                                      "items": [
    63                                          {
    64                                              "key": "400.html",
    65                                              "path": "400.html"
    66                                          }
    67                                      ],
    68                                      "defaultMode": 420
    69                                  }
    70                              }
    71                          ],
    72                          "containers": [
    73                              {
    74                                  "name": "controller",
    75                                  "image": "ghcr.io/verrazzano/nginx-ingress-controller:1.1.1-20220413170248-b60724ed1",
    76                                  "args": [
    77                                      "/nginx-ingress-controller",
    78                                      "--default-backend-service=$(POD_NAMESPACE)/ingress-controller-ingress-nginx-defaultbackend",
    79                                      "--publish-service=$(POD_NAMESPACE)/ingress-controller-ingress-nginx-controller",
    80                                      "--election-id=ingress-controller-leader",
    81                                      "--controller-class=k8s.io/ingress-nginx",
    82                                      "--configmap=$(POD_NAMESPACE)/ingress-controller-ingress-nginx-controller",
    83                                      "--watch-ingress-without-class=true"
    84                                  ],
    85                                  "ports": [
    86                                      {
    87                                          "name": "http",
    88                                          "containerPort": 80,
    89                                          "protocol": "TCP"
    90                                      },
    91                                      {
    92                                          "name": "https",
    93                                          "containerPort": 443,
    94                                          "protocol": "TCP"
    95                                      },
    96                                      {
    97                                          "name": "metrics",
    98                                          "containerPort": 10254,
    99                                          "protocol": "TCP"
   100                                      }
   101                                  ],
   102                                  "env": [
   103                                      {
   104                                          "name": "POD_NAME",
   105                                          "valueFrom": {
   106                                              "fieldRef": {
   107                                                  "apiVersion": "v1",
   108                                                  "fieldPath": "metadata.name"
   109                                              }
   110                                          }
   111                                      },
   112                                      {
   113                                          "name": "POD_NAMESPACE",
   114                                          "valueFrom": {
   115                                              "fieldRef": {
   116                                                  "apiVersion": "v1",
   117                                                  "fieldPath": "metadata.namespace"
   118                                              }
   119                                          }
   120                                      },
   121                                      {
   122                                          "name": "LD_PRELOAD",
   123                                          "value": "/usr/local/lib/libmimalloc.so"
   124                                      }
   125                                  ],
   126                                  "resources": {
   127                                      "requests": {
   128                                          "cpu": "100m",
   129                                          "memory": "90Mi"
   130                                      }
   131                                  },
   132                                  "volumeMounts": [
   133                                      {
   134                                          "name": "custom-400-error",
   135                                          "mountPath": "/usr/local/nginx/html"
   136                                      }
   137                                  ],
   138                                  "livenessProbe": {
   139                                      "httpGet": {
   140                                          "path": "/healthz",
   141                                          "port": 10254,
   142                                          "scheme": "HTTP"
   143                                      },
   144                                      "initialDelaySeconds": 10,
   145                                      "timeoutSeconds": 1,
   146                                      "periodSeconds": 10,
   147                                      "successThreshold": 1,
   148                                      "failureThreshold": 5
   149                                  },
   150                                  "readinessProbe": {
   151                                      "httpGet": {
   152                                          "path": "/healthz",
   153                                          "port": 10254,
   154                                          "scheme": "HTTP"
   155                                      },
   156                                      "initialDelaySeconds": 10,
   157                                      "timeoutSeconds": 1,
   158                                      "periodSeconds": 10,
   159                                      "successThreshold": 1,
   160                                      "failureThreshold": 3
   161                                  },
   162                                  "lifecycle": {
   163                                      "preStop": {
   164                                          "exec": {
   165                                              "command": [
   166                                                  "/wait-shutdown"
   167                                              ]
   168                                          }
   169                                      }
   170                                  },
   171                                  "terminationMessagePath": "/dev/termination-log",
   172                                  "terminationMessagePolicy": "File",
   173                                  "imagePullPolicy": "IfNotPresent",
   174                                  "securityContext": {
   175                                      "capabilities": {
   176                                          "add": [
   177                                              "NET_BIND_SERVICE"
   178                                          ],
   179                                          "drop": [
   180                                              "ALL"
   181                                          ]
   182                                      },
   183                                      "runAsUser": 101,
   184                                      "allowPrivilegeEscalation": true
   185                                  }
   186                              }
   187                          ],
   188                          "restartPolicy": "Always",
   189                          "terminationGracePeriodSeconds": 300,
   190                          "dnsPolicy": "ClusterFirst",
   191                          "nodeSelector": {
   192                              "kubernetes.io/os": "linux"
   193                          },
   194                          "serviceAccountName": "ingress-controller-ingress-nginx",
   195                          "serviceAccount": "ingress-controller-ingress-nginx",
   196                          "securityContext": {},
   197                          "imagePullSecrets": [
   198                              {
   199                                  "name": "verrazzano-container-registry"
   200                              }
   201                          ],
   202                          "schedulerName": "default-scheduler"
   203                      }
   204                  },
   205                  "strategy": {
   206                      "type": "RollingUpdate",
   207                      "rollingUpdate": {
   208                          "maxUnavailable": "25%",
   209                          "maxSurge": "25%"
   210                      }
   211                  },
   212                  "revisionHistoryLimit": 10,
   213                  "progressDeadlineSeconds": 600
   214              },
   215              "status": {
   216                  "observedGeneration": 1,
   217                  "replicas": 1,
   218                  "updatedReplicas": 1,
   219                  "readyReplicas": 1,
   220                  "availableReplicas": 1,
   221                  "conditions": [
   222                      {
   223                          "type": "Available",
   224                          "status": "True",
   225                          "lastUpdateTime": "2022-06-16T10:21:05Z",
   226                          "lastTransitionTime": "2022-06-16T10:21:05Z",
   227                          "reason": "MinimumReplicasAvailable",
   228                          "message": "Deployment has minimum availability."
   229                      },
   230                      {
   231                          "type": "Progressing",
   232                          "status": "True",
   233                          "lastUpdateTime": "2022-06-16T10:21:05Z",
   234                          "lastTransitionTime": "2022-06-16T10:20:04Z",
   235                          "reason": "NewReplicaSetAvailable",
   236                          "message": "ReplicaSet \"ingress-controller-ingress-nginx-controller-6b8bb69d6d\" has successfully progressed."
   237                      }
   238                  ]
   239              }
   240          },
   241          {
   242              "metadata": {
   243                  "name": "ingress-controller-ingress-nginx-defaultbackend",
   244                  "namespace": "verrazzano-ingress-nginx",
   245                  "uid": "ea083c80-fe20-4f12-bd73-ed795bc5e176",
   246                  "resourceVersion": "4305",
   247                  "generation": 1,
   248                  "creationTimestamp": "2022-06-16T10:20:04Z",
   249                  "labels": {
   250                      "app.kubernetes.io/component": "default-backend",
   251                      "app.kubernetes.io/instance": "ingress-controller",
   252                      "app.kubernetes.io/managed-by": "Helm",
   253                      "app.kubernetes.io/name": "ingress-nginx",
   254                      "app.kubernetes.io/version": "1.1.1",
   255                      "helm.sh/chart": "ingress-nginx-4.0.15"
   256                  },
   257                  "annotations": {
   258                      "deployment.kubernetes.io/revision": "1",
   259                      "meta.helm.sh/release-name": "ingress-controller",
   260                      "meta.helm.sh/release-namespace": "verrazzano-ingress-nginx"
   261                  }
   262              },
   263              "spec": {
   264                  "replicas": 1,
   265                  "selector": {
   266                      "matchLabels": {
   267                          "app.kubernetes.io/component": "default-backend",
   268                          "app.kubernetes.io/instance": "ingress-controller",
   269                          "app.kubernetes.io/name": "ingress-nginx"
   270                      }
   271                  },
   272                  "template": {
   273                      "metadata": {
   274                          "creationTimestamp": null,
   275                          "labels": {
   276                              "app.kubernetes.io/component": "default-backend",
   277                              "app.kubernetes.io/instance": "ingress-controller",
   278                              "app.kubernetes.io/name": "ingress-nginx"
   279                          },
   280                          "annotations": {
   281                              "traffic.sidecar.istio.io/excludeInboundPorts": "8080"
   282                          }
   283                      },
   284                      "spec": {
   285                          "volumes": [
   286                              {
   287                                  "name": "error-pages",
   288                                  "configMap": {
   289                                      "name": "ingress-controller-ingress-nginx-defaultbackend-custom-error-pages",
   290                                      "items": [
   291                                          {
   292                                              "key": "301.html",
   293                                              "path": "301.html"
   294                                          },
   295                                          {
   296                                              "key": "302.html",
   297                                              "path": "302.html"
   298                                          },
   299                                          {
   300                                              "key": "304.html",
   301                                              "path": "304.html"
   302                                          },
   303                                          {
   304                                              "key": "307.html",
   305                                              "path": "307.html"
   306                                          },
   307                                          {
   308                                              "key": "308.html",
   309                                              "path": "308.html"
   310                                          },
   311                                          {
   312                                              "key": "400.html",
   313                                              "path": "400.html"
   314                                          },
   315                                          {
   316                                              "key": "401.html",
   317                                              "path": "401.html"
   318                                          },
   319                                          {
   320                                              "key": "403.html",
   321                                              "path": "403.html"
   322                                          },
   323                                          {
   324                                              "key": "404.html",
   325                                              "path": "404.html"
   326                                          },
   327                                          {
   328                                              "key": "407.html",
   329                                              "path": "407.html"
   330                                          },
   331                                          {
   332                                              "key": "408.html",
   333                                              "path": "408.html"
   334                                          },
   335                                          {
   336                                              "key": "409.html",
   337                                              "path": "409.html"
   338                                          },
   339                                          {
   340                                              "key": "413.html",
   341                                              "path": "413.html"
   342                                          },
   343                                          {
   344                                              "key": "414.html",
   345                                              "path": "414.html"
   346                                          },
   347                                          {
   348                                              "key": "415.html",
   349                                              "path": "415.html"
   350                                          },
   351                                          {
   352                                              "key": "416.html",
   353                                              "path": "416.html"
   354                                          },
   355                                          {
   356                                              "key": "418.html",
   357                                              "path": "418.html"
   358                                          },
   359                                          {
   360                                              "key": "421.html",
   361                                              "path": "421.html"
   362                                          },
   363                                          {
   364                                              "key": "429.html",
   365                                              "path": "429.html"
   366                                          },
   367                                          {
   368                                              "key": "431.html",
   369                                              "path": "431.html"
   370                                          },
   371                                          {
   372                                              "key": "500.html",
   373                                              "path": "500.html"
   374                                          },
   375                                          {
   376                                              "key": "501.html",
   377                                              "path": "501.html"
   378                                          },
   379                                          {
   380                                              "key": "502.html",
   381                                              "path": "502.html"
   382                                          },
   383                                          {
   384                                              "key": "503.html",
   385                                              "path": "503.html"
   386                                          },
   387                                          {
   388                                              "key": "504.html",
   389                                              "path": "504.html"
   390                                          },
   391                                          {
   392                                              "key": "505.html",
   393                                              "path": "505.html"
   394                                          },
   395                                          {
   396                                              "key": "301.html",
   397                                              "path": "301.htm"
   398                                          },
   399                                          {
   400                                              "key": "302.html",
   401                                              "path": "302.htm"
   402                                          },
   403                                          {
   404                                              "key": "304.html",
   405                                              "path": "304.htm"
   406                                          },
   407                                          {
   408                                              "key": "307.html",
   409                                              "path": "307.htm"
   410                                          },
   411                                          {
   412                                              "key": "308.html",
   413                                              "path": "308.htm"
   414                                          },
   415                                          {
   416                                              "key": "400.html",
   417                                              "path": "400.htm"
   418                                          },
   419                                          {
   420                                              "key": "401.html",
   421                                              "path": "401.htm"
   422                                          },
   423                                          {
   424                                              "key": "403.html",
   425                                              "path": "403.htm"
   426                                          },
   427                                          {
   428                                              "key": "404.html",
   429                                              "path": "404.htm"
   430                                          },
   431                                          {
   432                                              "key": "407.html",
   433                                              "path": "407.htm"
   434                                          },
   435                                          {
   436                                              "key": "408.html",
   437                                              "path": "408.htm"
   438                                          },
   439                                          {
   440                                              "key": "409.html",
   441                                              "path": "409.htm"
   442                                          },
   443                                          {
   444                                              "key": "413.html",
   445                                              "path": "413.htm"
   446                                          },
   447                                          {
   448                                              "key": "414.html",
   449                                              "path": "414.htm"
   450                                          },
   451                                          {
   452                                              "key": "415.html",
   453                                              "path": "415.htm"
   454                                          },
   455                                          {
   456                                              "key": "416.html",
   457                                              "path": "416.htm"
   458                                          },
   459                                          {
   460                                              "key": "418.html",
   461                                              "path": "418.htm"
   462                                          },
   463                                          {
   464                                              "key": "421.html",
   465                                              "path": "421.htm"
   466                                          },
   467                                          {
   468                                              "key": "429.html",
   469                                              "path": "429.htm"
   470                                          },
   471                                          {
   472                                              "key": "431.html",
   473                                              "path": "431.htm"
   474                                          },
   475                                          {
   476                                              "key": "500.html",
   477                                              "path": "500.htm"
   478                                          },
   479                                          {
   480                                              "key": "501.html",
   481                                              "path": "501.htm"
   482                                          },
   483                                          {
   484                                              "key": "502.html",
   485                                              "path": "502.htm"
   486                                          },
   487                                          {
   488                                              "key": "503.html",
   489                                              "path": "503.htm"
   490                                          },
   491                                          {
   492                                              "key": "504.html",
   493                                              "path": "504.htm"
   494                                          },
   495                                          {
   496                                              "key": "505.html",
   497                                              "path": "505.htm"
   498                                          },
   499                                          {
   500                                              "key": "301.json",
   501                                              "path": "301.json"
   502                                          },
   503                                          {
   504                                              "key": "302.json",
   505                                              "path": "302.json"
   506                                          },
   507                                          {
   508                                              "key": "304.json",
   509                                              "path": "304.json"
   510                                          },
   511                                          {
   512                                              "key": "307.json",
   513                                              "path": "307.json"
   514                                          },
   515                                          {
   516                                              "key": "308.json",
   517                                              "path": "308.json"
   518                                          },
   519                                          {
   520                                              "key": "400.json",
   521                                              "path": "400.json"
   522                                          },
   523                                          {
   524                                              "key": "401.json",
   525                                              "path": "401.json"
   526                                          },
   527                                          {
   528                                              "key": "403.json",
   529                                              "path": "403.json"
   530                                          },
   531                                          {
   532                                              "key": "404.json",
   533                                              "path": "404.json"
   534                                          },
   535                                          {
   536                                              "key": "407.json",
   537                                              "path": "407.json"
   538                                          },
   539                                          {
   540                                              "key": "408.json",
   541                                              "path": "408.json"
   542                                          },
   543                                          {
   544                                              "key": "409.json",
   545                                              "path": "409.json"
   546                                          },
   547                                          {
   548                                              "key": "413.json",
   549                                              "path": "413.json"
   550                                          },
   551                                          {
   552                                              "key": "414.json",
   553                                              "path": "414.json"
   554                                          },
   555                                          {
   556                                              "key": "415.json",
   557                                              "path": "415.json"
   558                                          },
   559                                          {
   560                                              "key": "416.json",
   561                                              "path": "416.json"
   562                                          },
   563                                          {
   564                                              "key": "418.json",
   565                                              "path": "418.json"
   566                                          },
   567                                          {
   568                                              "key": "421.json",
   569                                              "path": "421.json"
   570                                          },
   571                                          {
   572                                              "key": "429.json",
   573                                              "path": "429.json"
   574                                          },
   575                                          {
   576                                              "key": "431.json",
   577                                              "path": "431.json"
   578                                          },
   579                                          {
   580                                              "key": "500.json",
   581                                              "path": "500.json"
   582                                          },
   583                                          {
   584                                              "key": "501.json",
   585                                              "path": "501.json"
   586                                          },
   587                                          {
   588                                              "key": "502.json",
   589                                              "path": "502.json"
   590                                          },
   591                                          {
   592                                              "key": "503.json",
   593                                              "path": "503.json"
   594                                          },
   595                                          {
   596                                              "key": "504.json",
   597                                              "path": "504.json"
   598                                          },
   599                                          {
   600                                              "key": "505.json",
   601                                              "path": "505.json"
   602                                          }
   603                                      ],
   604                                      "defaultMode": 420
   605                                  }
   606                              }
   607                          ],
   608                          "containers": [
   609                              {
   610                                  "name": "ingress-nginx-default-backend",
   611                                  "image": "ghcr.io/verrazzano/nginx-ingress-default-backend:1.1.1-20220413170248-b60724ed1",
   612                                  "ports": [
   613                                      {
   614                                          "name": "http",
   615                                          "containerPort": 8080,
   616                                          "protocol": "TCP"
   617                                      }
   618                                  ],
   619                                  "resources": {},
   620                                  "volumeMounts": [
   621                                      {
   622                                          "name": "error-pages",
   623                                          "mountPath": "/www"
   624                                      }
   625                                  ],
   626                                  "livenessProbe": {
   627                                      "httpGet": {
   628                                          "path": "/healthz",
   629                                          "port": 8080,
   630                                          "scheme": "HTTP"
   631                                      },
   632                                      "initialDelaySeconds": 30,
   633                                      "timeoutSeconds": 5,
   634                                      "periodSeconds": 10,
   635                                      "successThreshold": 1,
   636                                      "failureThreshold": 3
   637                                  },
   638                                  "readinessProbe": {
   639                                      "httpGet": {
   640                                          "path": "/healthz",
   641                                          "port": 8080,
   642                                          "scheme": "HTTP"
   643                                      },
   644                                      "timeoutSeconds": 5,
   645                                      "periodSeconds": 5,
   646                                      "successThreshold": 1,
   647                                      "failureThreshold": 6
   648                                  },
   649                                  "terminationMessagePath": "/dev/termination-log",
   650                                  "terminationMessagePolicy": "File",
   651                                  "imagePullPolicy": "IfNotPresent",
   652                                  "securityContext": {
   653                                      "capabilities": {
   654                                          "drop": [
   655                                              "ALL"
   656                                          ]
   657                                      },
   658                                      "runAsUser": 65534,
   659                                      "runAsNonRoot": true,
   660                                      "readOnlyRootFilesystem": true,
   661                                      "allowPrivilegeEscalation": false
   662                                  }
   663                              }
   664                          ],
   665                          "restartPolicy": "Always",
   666                          "terminationGracePeriodSeconds": 60,
   667                          "dnsPolicy": "ClusterFirst",
   668                          "nodeSelector": {
   669                              "kubernetes.io/os": "linux"
   670                          },
   671                          "serviceAccountName": "ingress-controller-ingress-nginx-backend",
   672                          "serviceAccount": "ingress-controller-ingress-nginx-backend",
   673                          "securityContext": {},
   674                          "imagePullSecrets": [
   675                              {
   676                                  "name": "verrazzano-container-registry"
   677                              }
   678                          ],
   679                          "schedulerName": "default-scheduler"
   680                      }
   681                  },
   682                  "strategy": {
   683                      "type": "RollingUpdate",
   684                      "rollingUpdate": {
   685                          "maxUnavailable": "25%",
   686                          "maxSurge": "25%"
   687                      }
   688                  },
   689                  "revisionHistoryLimit": 10,
   690                  "progressDeadlineSeconds": 600
   691              },
   692              "status": {
   693                  "observedGeneration": 1,
   694                  "replicas": 1,
   695                  "updatedReplicas": 1,
   696                  "readyReplicas": 1,
   697                  "availableReplicas": 1,
   698                  "conditions": [
   699                      {
   700                          "type": "Available",
   701                          "status": "True",
   702                          "lastUpdateTime": "2022-06-16T10:20:40Z",
   703                          "lastTransitionTime": "2022-06-16T10:20:40Z",
   704                          "reason": "MinimumReplicasAvailable",
   705                          "message": "Deployment has minimum availability."
   706                      },
   707                      {
   708                          "type": "Progressing",
   709                          "status": "True",
   710                          "lastUpdateTime": "2022-06-16T10:20:40Z",
   711                          "lastTransitionTime": "2022-06-16T10:20:04Z",
   712                          "reason": "NewReplicaSetAvailable",
   713                          "message": "ReplicaSet \"ingress-controller-ingress-nginx-defaultbackend-56c5fbc6b8\" has successfully progressed."
   714                      }
   715                  ]
   716              }
   717          }
   718      ]
   719  }