Update proxy deployment script description (#245)

This commit is contained in:
Lai Jiang 2019-08-28 17:35:43 -04:00 committed by GitHub
parent 8791f7f05c
commit 1779c63882

View file

@ -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