Cloud Map

4 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

CloudMapNamespace # GA

CloudMapNamespace is the Schema for managing AWS Cloud Map namespaces.

kubectl get cloudmapnamespaces · example on GitHub

Example

# CloudMapNamespace — Cloud Map
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/servicediscovery.html#cloudmapnamespace
apiVersion: aws.konfig.io/v1alpha1
kind: CloudMapNamespace
metadata:
  name: example-cloudmapnamespace
  namespace: default
spec:
  description: Managed by konfig-konector
  name: example-cloudmapnamespace
  providerRef:
    name: example-cloudmapnamespace
    region: us-east-1
  tags:
    environment: dev
    team: platform
  type: PRIVATE_DNS
  vpcRef:
    name: example-vpc

Spec

FieldTypeRequiredDescription
descriptionstring—Description of the namespace.
namestringyesName of the namespace (e.g.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply.
typeenumyesType of the namespace. Allowed: PRIVATE_DNS, PUBLIC_DNS, HTTP
vpcRefobject—VPCRef references the VPC to associate with a PRIVATE_DNS namespace.
vpcRef.idstring—ID is a direct AWS VPC ID (e.g.
vpcRef.namestring—Name of a VPC CR in the same namespace.

Status

FieldTypeRequiredDescription
arnstring—ARN of the namespace.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
namespaceIdstring—NamespaceID is the ID of the namespace.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
operationIdstring—OperationID tracks the async create operation until it completes.

CloudMapPrivateDnsNamespace # CLOUD CONTROL · AWS::ServiceDiscovery::PrivateDnsNamespace

CloudMapPrivateDnsNamespace manages AWS::ServiceDiscovery::PrivateDnsNamespace through the AWS Cloud Control API.

kubectl get cloudmapprivatednsnamespaces · example on GitHub

Example

# CloudMapPrivateDnsNamespace — Cloud Map
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/servicediscovery.html#cloudmapprivatednsnamespace
apiVersion: aws.konfig.io/v1alpha1
kind: CloudMapPrivateDnsNamespace
metadata:
  name: example-cloudmapprivatednsnamespace
  namespace: default
spec:
  description: Managed by konfig-konector
  name: example-cloudmapprivatednsnamespace
  properties:
    dnsProperties:
      soa:
        ttl: 1
  providerRef:
    name: example-cloudmapprivatednsnamespace
    region: us-east-1
  tags:
  - key: example
    value: example
  vpc: example

Spec

FieldTypeRequiredDescription
descriptionstring—A description of the namespace.
namestringyesThe name that you want to assign to this namespace.
propertiesobject—Properties of the private DNS namespace.
properties.dnsPropertiesobject—CloudMapPrivateDnsNamespacePrivateDnsPropertiesMutable is a nested property type of AWS::ServiceDiscovery::PrivateDnsNamespace.
properties.dnsProperties.soaobject—CloudMapPrivateDnsNamespaceSOA is a nested property type of AWS::ServiceDiscovery::PrivateDnsNamespace.
properties.dnsProperties.soa.ttlnumber—
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—The tags for the namespace.
tags[].keystringyes
tags[].valuestringyes
vpcstring—The ID of the Amazon VPC that you want to associate the namespace with.

Status

FieldTypeRequiredDescription
arnstring—The Amazon Resource Name (ARN) of the private namespace.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
hostedZoneIdstring—The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
idstring—The ID of the private namespace.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

CloudMapPublicDnsNamespace # CLOUD CONTROL · AWS::ServiceDiscovery::PublicDnsNamespace

CloudMapPublicDnsNamespace manages AWS::ServiceDiscovery::PublicDnsNamespace through the AWS Cloud Control API.

kubectl get cloudmappublicdnsnamespaces · example on GitHub

Example

# CloudMapPublicDnsNamespace — Cloud Map
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/servicediscovery.html#cloudmappublicdnsnamespace
apiVersion: aws.konfig.io/v1alpha1
kind: CloudMapPublicDnsNamespace
metadata:
  name: example-cloudmappublicdnsnamespace
  namespace: default
spec:
  description: Managed by konfig-konector
  name: example-cloudmappublicdnsnamespace
  properties:
    dnsProperties:
      soa:
        ttl: 1
  providerRef:
    name: example-cloudmappublicdnsnamespace
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
descriptionstring—A description for the namespace.
namestringyesThe name that you want to assign to this namespace.
propertiesobject—Properties for the public DNS namespace.
properties.dnsPropertiesobject—CloudMapPublicDnsNamespacePublicDnsPropertiesMutable is a nested property type of AWS::ServiceDiscovery::PublicDnsNamespace.
properties.dnsProperties.soaobject—CloudMapPublicDnsNamespaceSOA is a nested property type of AWS::ServiceDiscovery::PublicDnsNamespace.
properties.dnsProperties.soa.ttlnumber—
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—The tags for the namespace.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—The Amazon Resource Name (ARN) of the public namespace.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
hostedZoneIdstring—The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace.
idstring—The ID of the public namespace.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

CloudMapService # GA

CloudMapService is the Schema for managing AWS Cloud Map services.

kubectl get cloudmapservices · example on GitHub

Example

# CloudMapService — Cloud Map
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/servicediscovery.html#cloudmapservice
apiVersion: aws.konfig.io/v1alpha1
kind: CloudMapService
metadata:
  name: example-cloudmapservice
  namespace: default
spec:
  description: Managed by konfig-konector
  dnsConfig:
    recordType: A
    routingPolicy: MULTIVALUE
    ttl: 1
  healthCheckCustomConfig:
    failureThreshold: 1
  name: example-cloudmapservice
  namespaceRef:
    name: example-namespace
  providerRef:
    name: example-cloudmapservice
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
descriptionstring—Description of the service.
dnsConfigobject—DnsConfig configures the DNS records for registered instances.
dnsConfig.recordTypeenumyesRecordType of the Route 53 record. Allowed: A, AAAA, SRV, CNAME
dnsConfig.routingPolicyenum—RoutingPolicy applied to the records. Allowed: MULTIVALUE, WEIGHTED
dnsConfig.ttlintegeryesTTL of the record in seconds.
healthCheckCustomConfigobject—HealthCheckCustomConfig configures a custom health check.
healthCheckCustomConfig.failureThresholdinteger—FailureThreshold is deprecated by AWS and always treated as 1.
namestringyesName of the service.
namespaceRefobjectyesNamespaceRef references the namespace the service is created in.
namespaceRef.idstring—ID is a direct AWS Cloud Map namespace ID (e.g.
namespaceRef.namestring—Name of a CloudMapNamespace CR in the same namespace.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply.

Status

FieldTypeRequiredDescription
arnstring—ARN of the service.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
serviceIdstring—ServiceID is the ID of the service.