Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CreateJob (0.36 sec)

  1. cmd/kubeadm/app/phases/upgrade/health.go

    	_, _ = printer.Println("[upgrade] Running cluster health checks")
    
    	healthChecks := []preflight.Checker{
    		&healthCheck{
    			name:   "CreateJob",
    			client: client,
    			cfg:    cfg,
    			f:      createJob,
    		},
    		&healthCheck{
    			name:   "ControlPlaneNodesReady",
    			client: client,
    			f:      controlPlaneNodesReady,
    		},
    		&healthCheck{
    			name: "StaticPodManifest",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. pkg/controller/cronjob/injection.go

    // created as an interface to allow testing.
    type jobControlInterface interface {
    	// GetJob retrieves a Job.
    	GetJob(namespace, name string) (*batchv1.Job, error)
    	// CreateJob creates new Jobs according to the spec.
    	CreateJob(namespace string, job *batchv1.Job) (*batchv1.Job, error)
    	// DeleteJob deletes the Job identified by name.
    	// TODO: delete by UID?
    	DeleteJob(namespace string, name string) error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 09:37:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // create and execute a web crawler
            createWebConfig();
            logger.info("WebConfig is created");
            refresh();
            webConfigId = getWebConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created: {}", webConfigId);
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
    
            ThreadUtil.sleep(3000);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            crawlLabelId = createCrawlLabel();
    
            createFileConfig();
            logger.info("FileConfig is created");
            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created");
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

    public class CrawlTestBase extends ITBase {
        private static final Logger logger = LogManager.getLogger(CrawlTestBase.class);
    
        private static final String DOC_INDEX_NAME = "fess.search";
    
        protected static void createJob(final Map<String, Object> requestBody) {
            checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. pkg/controller/cronjob/cronjob_controllerv2.go

    	if err != nil {
    		logger.Error(err, "Unable to make Job from template", "cronjob", klog.KObj(cronJob))
    		return nil, updateStatus, err
    	}
    	jobResp, err := jm.jobControl.CreateJob(cronJob.Namespace, jobReq)
    	switch {
    	case errors.HasStatusCause(err, corev1.NamespaceTerminatingCause):
    		// if the namespace is being terminated, we don't have to do
    		// anything because any creation will fail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: during the preflight check "CreateJob" of "kubeadm upgrade", check if there are no nodes where a Pod can schedule. If there are none, show a warning and skip this preflight check. This can happen in single node clusters where the only node was drained. ([#124503](https://github.com/...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - Kubeadm: during the preflight check "CreateJob" of "kubeadm upgrade", check if there are no nodes where a Pod can schedule. If there are none, show a warning and skip this preflight check. This can happen in single node clusters where the only node was drained. ([#124570](https://github.com/...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
Back to top