@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()`.AwsElasticBlockStorePersistentVolumeProps Properties for `AwsElasticBlockStorePersistentVolume`.AzureDiskPersistentVolumeProps Properties for `AzureDiskPersistentVolume`.BasicAuthSecretProps Options for `BasicAuthSecret`.CommandProbeOptions Options for `Probe.fromCommand()`.ConfigMapProps Properties for initialization of `ConfigMap`.ConfigMapVolumeOptions Options for the ConfigMap-based volume.ContainerLifecycle Container lifecycle properties.ContainerProps Properties for creating a container.ContainerSecurityContextProps Properties for `ContainerSecurityContext`.CpuResources CPU request and limit.DeploymentProps Properties for initialization of `Deployment`.DockerConfigSecretProps Options for `DockerConfigSecret`.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.GCEPersistentDiskPersistentVolumeProps Properties for `GCEPersistentDiskPersistentVolume`.HandlerFromHttpGetOptions Options for `Handler.fromHttpGet`.HandlerFromTcpSocketOptions Options for `Handler.fromTcpSocket`.HostAlias HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's /etc/hosts file.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.IPersistentVolume Contract of a `PersistentVolumeClaim`.IPersistentVolume.Jsii$Default Internal default implementation forIPersistentVolume.IPersistentVolumeClaim Contract of a `PersistentVolumeClaim`.IPersistentVolumeClaim.Jsii$Default Internal default implementation forIPersistentVolumeClaim.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.IStorage Represents a piece of storage in the cluster.IStorage.Jsii$Default Internal default implementation forIStorage.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.PersistentVolumeClaimProps Properties for `PersistentVolumeClaim`.PersistentVolumeClaimVolumeOptions Options for a PersistentVolumeClaim-based volume.PersistentVolumeProps Properties for `PersistentVolume`.PodProps Properties for initialization of `Pod`.PodSecurityContextProps Properties for `PodSecurityContext`.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 Options for `Secret`.SecretValue Represents a specific value in JSON secret.SecretVolumeOptions Options for the Secret-based volume.ServiceAccountProps Properties for initialization of `ServiceAccount`.ServiceAccountTokenSecretProps Options for `ServiceAccountTokenSecret`.ServiceIngressV1BetaBackendOptions Options for setting up backends for ingress rules.ServicePort Definition of a service port.ServicePortOptions ServiceProps Properties for initialization of `Service`.SshAuthSecretProps Options for `SshAuthSecret`.StatefulSetProps Properties for initialization of `StatefulSet`.Sysctl Sysctl defines a kernel parameter to be set.TcpSocketProbeOptions Options for `Probe.fromTcpSocket()`.TlsSecretProps Options for `TlsSecret`.VolumeMount Mount a volume from the pod to the container. -
Enum Summary Enum Description AzureDiskPersistentVolumeCachingMode Azure disk caching modes.AzureDiskPersistentVolumeKind Azure Disk kinds.EmptyDirMedium The medium on which to store the volume.EnvFieldPaths FsGroupChangePolicy ImagePullPolicy MountPropagation PersistentVolumeAccessMode Access Modes.PersistentVolumeMode Volume Modes.PersistentVolumeReclaimPolicy Reclaim Policies.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.