Class ReplicaSetSpec.Builder

  • Enclosing class:
    ReplicaSetSpec

    public static class ReplicaSetSpec.Builder
    extends java.lang.Object
    • Method Detail

      • minReadySeconds

        public ReplicaSetSpec.Builder minReadySeconds​(java.lang.Number minReadySeconds)
        Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
        Returns:
        this.
      • replicas

        public ReplicaSetSpec.Builder replicas​(java.lang.Number replicas)
        Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object