Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/golonzovsky/solr-waiter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/golonzovsky/solr-waiter

  • v0.2.2
  • Source
  • Go
  • Socket score

Version published
Created
Source

SolrCloud readiness blocking waiter

SolrCloud doesent expose node readiness condition in status, which can be used by wait/jobs.
This utility blocks until requested cluster is ready. We compare replicas with readyReplicas in status of SolrCloud resource.

If there is an easier way to do this (e.g. with some kubectl wait --for=condition=[magic] command) please let me know.

Usage

❯ solr-waiter --help
solr-waiter waits for solrcloud to be ready

Usage:
  solr-waiter [cluster name] -n namespace [flags]

Flags:
  -h, --help                     help for solr-waiter
      --initial-delay duration   initial delay. Default 0 - no delay
  -n, --namespace string         namespace of the cluster
      --timeout duration         timeout interval. Set 0 to disable timeout (default 10m0s)

Example usage

solr-waiter solr-test -n sandbox                                                                                        gke_personal/sandbox
elapsed 0s, ready 2 out of 3
elapsed 3s, still watching cluster (timeout in ~9m57s)
elapsed 4s, cluster solr-test is ready. Exiting.

Example usage in cluster

See example job in test-job.yml

FAQs

Package last updated on 02 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc