Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

chore: improve some of the deployment and build scripts #1324

Merged

Conversation

makkes
Copy link
Contributor

@makkes makkes commented Dec 6, 2020

What this PR does / why we need it:

  • deploy-kubefed.sh: new envvar NO_JOIN_HOST_CLUSTER. When set to a
    non-empty value prevents the script from joining the host cluster to
    itself. Default behaviour doesn't change.
  • sync-up-helm-charts.sh: reduced verbosity of the script by letting
    etcd and kube-apiserver log into files instead of stdout/stderr.
    This should make it much easier to follow the steps the scripts is
    exercising. Also improved the two messages printed when waiting for
    etcd and kube-apiserver to get ready.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
n/a

Special notes for your reviewer:

No behaviour has been changed with respect to what the scripts do but only to how much information they log to stdout.

* deploy-kubefed.sh: new envvar `NO_JOIN_HOST_CLUSTER`. When set to a
  non-empty value prevents the script from joining the host cluster to
  itself. Default behaviour doesn't change.
* sync-up-helm-charts.sh: reduced verbosity of the script by letting
  etcd and kube-apiserver log into files instead of stdout/stderr.
  This should make it much easier to follow the steps the scripts is
  exercising. Also improved the two messages printed when waiting for
  etcd and kube-apiserver to get ready.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 6, 2020
@jimmidyson
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jimmidyson, makkes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 6, 2020
@irfanurrehman
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2020
@k8s-ci-robot k8s-ci-robot merged commit 9821ccf into kubernetes-retired:master Dec 6, 2020
@makkes makkes deleted the improve-deployment-scripts branch December 7, 2020 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants