@Stability(Stable)
Package org.cdk8s.plus20
cdk8s+ (cdk8s-plus)
High level constructs for Kubernetes
| k8s version | npm (JS/TS) | PyPI (Python) | NuGet (C#) | Maven (Java) | Go | | --- | --- | --- | --- | --- | --- | | 1.20.0 | Link | Link | Link | Link | Link | | 1.21.0 | Link | Link | Link | Link | Link | | 1.22.0 | Link | Link | Link | Link | Link |
cdk8s+ is a software development framework that provides high level abstractions for authoring Kubernetes applications. Built on top of the auto generated building blocks provided by cdk8s, this library includes a hand crafted construct for each native kubernetes object, exposing richer API's with reduced complexity.
:books: Documentation
See cdk8s.io.
:raised_hand: Contributing
If you'd like to add a new feature or fix a bug, please visit CONTRIBUTING.md!
:balance_scale: License
This project is distributed under the Apache License, Version 2.0.
This module is part of the cdk8s project.
-
Interface Summary Interface Description AddDeploymentOptions Options to add a deployment to a service.AddDirectoryOptions Options for `configmap.addDirectory()`.CommandProbeOptions Options for `Probe.fromCommand()`.ConfigMapProps Properties for initialization of `ConfigMap`.ConfigMapVolumeOptions Options for the ConfigMap-based volume.ContainerProps Properties for creating a container.CpuResources CPU request and limit.DeploymentProps Properties for initialization of `Deployment`.EmptyDirVolumeOptions Options for volumes populated with an empty directory.EnvValueFromConfigMapOptions Options to specify an envionment variable value from a ConfigMap key.EnvValueFromFieldRefOptions Options to specify an environment variable value from a field reference.EnvValueFromProcessOptions Options to specify an environment variable value from the process environment.EnvValueFromResourceOptions Options to specify an environment variable value from a resource.EnvValueFromSecretOptions Options to specify an environment variable value from a Secret.ExposeDeploymentViaIngressOptions Options for exposing a deployment via an ingress.ExposeDeploymentViaServiceOptions Options for exposing a deployment via a service.ExposeServiceViaIngressOptions Options for exposing a service using an ingress.HttpGetProbeOptions Options for `Probe.fromHttpGet()`.IConfigMap Represents a config map.IConfigMap.Jsii$Default Internal default implementation forIConfigMap.IngressV1Beta1Props Properties for `Ingress`.IngressV1Beta1Rule Represents the rules mapping the paths under a specified host to the related backend services.IngressV1Beta1Tls Represents the TLS configuration mapping that is passed to the ingress controller for SSL termination.IPodSpec Represents a resource that can be configured with a kuberenets pod spec.IPodSpec.Jsii$Default Internal default implementation forIPodSpec.IPodTemplate Represents a resource that can be configured with a kuberenets pod template.IPodTemplate.Jsii$Default Internal default implementation forIPodTemplate.IResource Represents a resource.IResource.Jsii$Default Internal default implementation forIResource.ISecret ISecret.Jsii$Default Internal default implementation forISecret.IServiceAccount IServiceAccount.Jsii$Default Internal default implementation forIServiceAccount.JobProps Properties for initialization of `Job`.MemoryResources Memory request and limit.MountOptions Options for mounts.PathMapping Maps a string key to a path within a volume.PodProps Properties for initialization of `Pod`.PodSpecProps Properties of a `PodSpec`.PodTemplateProps Properties of a `PodTemplate`.ProbeOptions Probe options.ResourceProps Initialization properties for resources.Resources CPU and memory compute resources.SecretProps SecretValue Represents a specific value in JSON secret.SecretVolumeOptions Options for the Secret-based volume.ServiceAccountProps Properties for initialization of `ServiceAccount`.ServiceIngressV1BetaBackendOptions Options for setting up backends for ingress rules.ServicePort Definition of a service port.ServicePortOptions ServiceProps Properties for initialization of `Service`.StatefulSetProps Properties for initialization of `StatefulSet`.TcpSocketProbeOptions Options for `Probe.fromTcpSocket()`.VolumeMount Mount a volume from the pod to the container. -
Enum Summary Enum Description EmptyDirMedium The medium on which to store the volume.EnvFieldPaths ImagePullPolicy MountPropagation PodManagementPolicy Controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.Protocol ResourceFieldPaths RestartPolicy Restart policy for all containers within the pod.ServiceType For some parts of your application (for example, frontends) you may want to expose a Service onto an external IP address, that's outside of your cluster.