mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Update proxy deployment script description (#245)
This commit is contained in:
parent
8791f7f05c
commit
1779c63882
1 changed files with 6 additions and 6 deletions
|
@ -13,8 +13,9 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
# This script builds the GAE artifacts for a given environment, moves the
|
# This script prepares the proxy k8s manifest, pushes it to the clusters, and
|
||||||
# artifacts for all services to a designated location, and then creates a
|
# kills all running pods to force k8s to create new pods using the just-pushed
|
||||||
|
# manifest.
|
||||||
|
|
||||||
if [[ $# -ne 1 ]]; then
|
if [[ $# -ne 1 ]]; then
|
||||||
echo "Usage: $0 alpha|crash"
|
echo "Usage: $0 alpha|crash"
|
||||||
|
@ -34,8 +35,7 @@ do
|
||||||
sed s/GCP_PROJECT/${project}/g "./kubernetes/proxy-deployment-${environment}.yaml" | \
|
sed s/GCP_PROJECT/${project}/g "./kubernetes/proxy-deployment-${environment}.yaml" | \
|
||||||
kubectl replace -f -
|
kubectl replace -f -
|
||||||
# Alpha does not have canary
|
# Alpha does not have canary
|
||||||
if [[ ${environment} != "alpha" ]]
|
if [[ ${environment} != "alpha" ]]; then
|
||||||
then
|
|
||||||
sed s/GCP_PROJECT/${project}/g "./kubernetes/proxy-deployment-${environment}-canary.yaml" | \
|
sed s/GCP_PROJECT/${project}/g "./kubernetes/proxy-deployment-${environment}-canary.yaml" | \
|
||||||
kubectl replace -f -
|
kubectl replace -f -
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue