Get cluster namespace ingress details

Get cluster namespace ingress details

get

Get detailed information for the Ingress in the specified cluster and namespace.

Path parameters
clusterIdstringRequired
namespaceNamestringRequired
ingressNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/ingresses/{ingressName} HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "creationTimestamp": "2023-06-15 07:52:17",
  "deployment": "{\"apiVersion\":\"networking.k8s.io/v1\"...",
  "deploymentYaml": "apiVersion: v1\nkind: Node\nmetadata...",
  "detail": {
    "annotations": {
      "nginx.ingress.kubernetes.io/ssl-redirect": "false"
    },
    "creationTimestamp": "2023-01-12 08:33:06",
    "labels": {
      "app": "api"
    },
    "name": "api",
    "namespace": "cocktail-system"
  },
  "endpoints": [
    "0.0.0.0"
  ],
  "ingressSpec": {
    "annotations": {
      "nginx.ingress.kubernetes.io/ssl-redirect": "false"
    },
    "ingressControllerName": "nginx",
    "labels": {
      "app": "api"
    },
    "name": "api",
    "namespaceName": "cocktail-system",
    "rules": [
      {
        "host": {
          "type": "string",
          "example": "devops-api.acloud.run"
        },
        "paths": {
          "type": "array",
          "description": "Path list",
          "items": {
            "type": "object",
            "example": {
              "path": "/v1",
              "pathType": "ImplementationSpecific",
              "serviceName": "api-gateway",
              "servicePort": "8081",
              "servicePortIsInteger": true
            }
          }
        }
      }
    ],
    "tls": [
      {
        "hosts": [
          "devops-api.acloud.run"
        ],
        "secretName": "acloudrun-tls"
      }
    ],
    "useSslRedirect": false
  },
  "name": "api",
  "namespace": "cocktail-system"
}

Was this helpful?