Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 170 for errorexit (0.22 sec)

  1. cluster/gce/upgrade-aliases.sh

    # limitations under the License.
    
    # !!!EXPERIMENTAL!!! Upgrade a K8s cluster from routes to IP aliases for
    # node connectivity on GCE. This is only for migration.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${KUBERNETES_PROVIDER:-gce}" != "gce" ]]; then
      echo "ERR: KUBERNETES_PROVIDER must be gce" >&2
      exit 1
    fi
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. bin/init.sh

    # limitations under the License.
    
    # Init script downloads or updates envoy and the go dependencies. Called from Makefile, which sets
    # the needed environment variables.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cluster/gce/gci/flexvolume_node_setup.sh

    # Upon failure, the script will clean up the partial installation automatically.
    #
    # Must be executed under /home/kubernetes/bin with sudo.
    # Warning: kubelet will be restarted upon successful execution.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    MOUNTER_IMAGE=${1:-}
    MOUNTER_PATH=/home/kubernetes/flexvolume_mounter
    VOLUME_PLUGIN_DIR=/home/kubernetes/flexvolume
    
    usage() {
      echo "usage: $0 imagename[:tag]"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 13 17:58:51 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/util/cmdutil.go

    	return func(c *cobra.Command, args []string) {
    		if len(args) > 0 {
    			kubeadmutil.CheckErr(usageErrorf(c, "invalid subcommand %q", strings.Join(args, " ")))
    		}
    		c.Help()
    		kubeadmutil.CheckErr(kubeadmutil.ErrExit)
    	}
    }
    
    func usageErrorf(c *cobra.Command, format string, args ...interface{}) error {
    	msg := fmt.Sprintf(format, args...)
    	return errors.Errorf("%s\nSee '%s -h' for help and examples", msg, c.CommandPath())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. hack/make-rules/verify.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    # If KUBE_JUNIT_REPORT_DIR is unset, and ARTIFACTS is set, then have them match.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 12:24:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. hack/apidiff.sh

                      the common base of origin/master and HEAD.
       [directory]:   Check one or more specific directory instead of everything.
    EOF
      exit 1
    }
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    base=
    target=
    while getopts "r:t:" o; do
        case "${o}" in
            r)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:00:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. hack/verify-e2e-test-ownership.sh

    # - tests SHOULD NOT have multiple [sig-foo] tags
    # TODO: these two can be dropped if KubeDescribe is gone from codebase
    # - tests MUST NOT have [k8s.io] in test names
    # - tests MUST NOT use KubeDescribe
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # This will canonicalize the path
    KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd -P)
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 06:46:18 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  8. hack/lib/init.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Short-circuit if init.sh has already been sourced
    [[ $(type -t kube::init::loaded) == function ]] && return 0
    
    # Unset CDPATH so that path interpolation can work correctly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. hack/verify-prometheus-imports.sh

    # powerful for specifying restricted imports but does not scale to checking
    # the entire source tree well and is only enabled for specific packages.
    #
    # See: https://github.com/kubernetes/kubernetes/issues/99876
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. hack/grab-profiles.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script grabs profiles from running components.
    # Usage: `hack/grab-profiles.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    function grab_profiles_from_component {
      local requested_profiles=$1
      local mem_pprof_flags=$2
      local binary=$3
      local tunnel_port=$4
      local path=$5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 17 06:47:05 UTC 2021
    - 8.4K bytes
    - Viewed (0)
Back to top