Skip to content

Default behavior for the Plugin if no PodTemplate is defined #2828

@iman-obeid9

Description

@iman-obeid9

Describe your use case that is not covered by existing documentation.

Hello K8s Plugin team,

Can you outline the default behavior when no PodTemplate is defined? What would happen? Is the native behaviour to create a PodTemplate based on the job name, adding the build number, then a random suffix like this <job_parent_dir-job_name-build_number-random>?

For example, if we have such a config:

    agent {
        kubernetes {
          defaultContainer 'jnlp'
          idleMinutes '20'
          yamlFile 'containerTemplate/SlaveContainerTemp.yaml'
        }
    }

Reference any relevant documentation, other materials, or issues/pull requests that can be used for inspiration.

No response

Are you interested in contributing to the documentation?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions