aa624ce27c
This commit provides the Go code and scripts for the Bootstrap container for GCP. The Bootstrap container (bootstrap_capg) for Google Cloud is designed to accept three commands: create, delete and help. - create - will create an Ephemeral GKE cluster in Google Cloud - delete - will delete the Ephemeral GKE cluster from the Google Cloud - help - Stdout the help text for using this container. Please, refer to the bootstrap_capg/README.md for further details. Change-Id: Ifad7c7a7fede0230029716c9e093449f5886e859
30 lines
943 B
YAML
30 lines
943 B
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# 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.
|
|
|
|
apiVersion: v1
|
|
kind: GoogleCloudConfig
|
|
metadata:
|
|
name: capi-google-zuul
|
|
credentials:
|
|
project: <GCP Project ID>
|
|
account: <GCP Account ID>
|
|
credential: gcp-credentials.json
|
|
spec:
|
|
region: us-central1
|
|
zone: us-central1-c
|
|
cluster:
|
|
k8sVersion: 1.16.13-gke.401
|
|
machineSize: e2-medium
|
|
diskSize: 100
|
|
replicas: 1
|
|
kubeconfig: capg.kubeconfig
|