oracle/config/workflows/v1alpha1_instance.yaml (29 lines of code) (raw):

apiVersion: oracle.db.anthosapis.com/v1alpha1 kind: Instance metadata: name: mydb namespace: "<your-ns>" # {"$kpt-set":"namespace"} spec: type: Oracle version: "12.2" edition: Enterprise DBDomain: "gke" disks: - name: DataDisk size: 45Gi type: pd-standard - name: LogDisk size: 55Gi type: pd-standard services: # {"$kpt-set":"services"} - "<your-services>" # {"$kpt-set":"services"} images: service: "<your-db-GCR-location>" # {"$kpt-set":"dbimage"} sourceCidrRanges: [0.0.0.0/0] databaseResources: requests: memory: 4.0Gi maintenanceWindow: timeRanges: - start: "2121-04-20T15:45:30Z" duration: "168h" # parameters: # parallel_servers_target: "15" # disk_asynch_io: "true" # Uncomment this section to trigger a restore. # restore: # backupType: "Snapshot" #(or "Physical") # backupId: "mydb-20200705-snap-996678001" # force: True # # once applied, new requests with same or older time will be ignored, # # current time can be generated using the command: date -u '+%Y-%m-%dT%H:%M:%SZ' # requestTime: "2000-01-19T01:23:45Z" # # Physical backup specific attributes: # dop: 2 # # The unit for time limit is minutes (but specify just an integer). # timeLimitMinutes: 180