com.pulumi.kubernetes.apps.v1.inputs.StatefulSetOrdinalsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.apps.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
*
*/
public final class StatefulSetOrdinalsArgs extends com.pulumi.resources.ResourceArgs {
public static final StatefulSetOrdinalsArgs Empty = new StatefulSetOrdinalsArgs();
/**
* start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
* [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
* If unset, defaults to 0. Replica indices will be in the range:
* [0, .spec.replicas).
*
*/
@Import(name="start")
private @Nullable Output start;
/**
* @return start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
* [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
* If unset, defaults to 0. Replica indices will be in the range:
* [0, .spec.replicas).
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy