kubernetes/storage/parallelstore-transfer-tool/k8s/kustomization.yaml (34 lines of code) (raw):
# Copyright 2024 Google LLC
#
# 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
#
# https://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: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
name: parallelstore-data-transfer
namespace: default
resources:
- sample-job.yaml
- serviceaccount.yaml
images:
- name: parallelstore-transfer
newName: us-central1-docker.pkg.dev/fsi-research-5/research-images/parallelstore-transfer # Replace with your desired registry
newTag: latest123 # Replace with your desired tag
patches:
- patch: |-
apiVersion: batch/v1
kind: Job
metadata:
name: parallelstore-data-transfer
spec:
template:
spec:
containers:
- name: data-transfer
args:
- --mode
- import
- --gcsbucket
- <your-gcs-bucket-name>
- --instance
- <your-parallelstore-instance-name>
- --location
- <your-parallelstore-instance-location>
- --project-id
- <your-parallelstore-project-id>