Class PodTemplateSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • metadata

        @Stability(Stable)
        public PodTemplateSpec.Builder metadata​(ObjectMeta metadata)
        Parameters:
        metadata - Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        this
      • spec

        @Stability(Stable)
        public PodTemplateSpec.Builder spec​(PodSpec spec)
        Sets the value of PodTemplateSpec.getSpec()
        Parameters:
        spec - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
        Returns:
        this