Class PodShell


  • public class PodShell
    extends Object
    • Constructor Detail

      • PodShell

        public PodShell​(OpenShift openShift,
                        io.fabric8.kubernetes.api.model.Pod pod)
      • PodShell

        public PodShell​(OpenShift openShift,
                        io.fabric8.kubernetes.api.model.Pod pod,
                        String containerName)
    • Method Detail

      • executeWithRetry

        public PodShellOutput executeWithRetry​(int retryCount,
                                               int retryDelay,
                                               String... commands)
      • executeWithRetry

        public PodShellOutput executeWithRetry​(String... commands)
        Executes command(s) on the pod with retry mechanism in case of failure. Up to 3 attempts are made with a 5-second delay between each attempt.