...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: dataproc.cnrm.cloud.google.com/v1beta1
16kind: DataprocCluster
17metadata:
18 annotations:
19 cnrm.cloud.google.com/management-conflict-prevention-policy: "none"
20 name: dataproccluster-sample
21 labels:
22 label-one: "value-one"
23spec:
24 location: "us-central1"
25 config:
26 autoscalingConfig:
27 policyRef:
28 name: dataproccluster-dep
29 stagingBucketRef:
30 name: dataproccluster-dep-staging
31 masterConfig:
32 diskConfig:
33 bootDiskSizeGb: 30
34 bootDiskType: pd-standard
35 machineType: "n2-standard-2"
36 numInstances: 1
37 workerConfig:
38 numInstances: 2
39 machineType: "n2-standard-2"
40 diskConfig:
41 bootDiskSizeGb: 30
42 numLocalSsds: 1
43 softwareConfig:
44 imageVersion: "2.0.39-debian10"
45 gceClusterConfig:
46 tags:
47 - "foo"
48 - "bar"
49 initializationActions:
50 - executableFile: "gs://dataproc-initialization-actions/stackdriver/stackdriver.sh"
51 executionTimeout: "500s"
View as plain text