CCI.Ingress
Element Description
The CCI.Ingress element is used to create an ingress.
Element Properties
|
Property |
Required |
Descripiton |
|---|---|---|
|
k8sManifest |
Yes |
Ingress object in the Kubernetes cluster created by the CCI service Type: dict Value Description: Supports customization. You are not advised to change the name and labels under the metadata during an update. Suggestion: Enter the native YAML file content of the Kubernetes object. |
|
namespace |
Yes |
Namespace in a cluster where a resource is located Type: HuaweiCloud.CCI.Namespace.Name Value Description: Must be a valid namespace in the cluster, for example, default. Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. Suggestion: Log in to the CCI console, choose Resource Management > Namespaces, and query information as required. |
Relationships Between Elements
|
Description |
Target |
|---|---|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
DependsOn |
|
|
ContainedIn |
Return Value
|
Property |
Type |
Description |
|---|---|---|
|
refName |
string |
Ingress name |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
namespace:
description: ns
node_templates:
ccei4xws:
type: HuaweiCloud.CCI.Ingress
properties:
k8sManifest:
apiVersion: 'extensions/v1beta1'
kind: Ingress
metadata:
labels:
stack-name: aos-aos
name: ingress-test
spec:
rules:
- http:
paths:
- backend:
serviceName: aos-apiserver
servicePort: 31800
path: '/v2/sample_templates'
property:
'ingress.beta.kubernetes.io/enable-checksession': 'true'
tls:
- secretName: tenant-management-service-server
namespace:
get_input: namespace
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.