diff --git a/gen/pb-go/flyteidl-flink/flink.pb.go b/gen/pb-go/flyteidl-flink/flink.pb.go index df941ea..f3368ff 100644 --- a/gen/pb-go/flyteidl-flink/flink.pb.go +++ b/gen/pb-go/flyteidl-flink/flink.pb.go @@ -371,16 +371,18 @@ func (m *JFlyte_Artifact) GetLocation() string { // Custom Proto for Flink Plugin. type FlinkJob struct { - JarFiles []string `protobuf:"bytes,1,rep,name=jarFiles,proto3" json:"jarFiles,omitempty"` - MainClass string `protobuf:"bytes,2,opt,name=mainClass,proto3" json:"mainClass,omitempty"` - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - FlinkProperties map[string]string `protobuf:"bytes,4,rep,name=flinkProperties,proto3" json:"flinkProperties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - JobManager *JobManager `protobuf:"bytes,5,opt,name=jobManager,proto3" json:"jobManager,omitempty"` - TaskManager *TaskManager `protobuf:"bytes,6,opt,name=taskManager,proto3" json:"taskManager,omitempty"` - ServiceAccount string `protobuf:"bytes,7,opt,name=serviceAccount,proto3" json:"serviceAccount,omitempty"` - Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` - FlinkVersion string `protobuf:"bytes,9,opt,name=flinkVersion,proto3" json:"flinkVersion,omitempty"` - Parallelism int32 `protobuf:"varint,10,opt,name=parallelism,proto3" json:"parallelism,omitempty"` + JarFiles []string `protobuf:"bytes,1,rep,name=jarFiles,proto3" json:"jarFiles,omitempty"` + MainClass string `protobuf:"bytes,2,opt,name=mainClass,proto3" json:"mainClass,omitempty"` + Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + FlinkProperties map[string]string `protobuf:"bytes,4,rep,name=flinkProperties,proto3" json:"flinkProperties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + JobManager *JobManager `protobuf:"bytes,5,opt,name=jobManager,proto3" json:"jobManager,omitempty"` + TaskManager *TaskManager `protobuf:"bytes,6,opt,name=taskManager,proto3" json:"taskManager,omitempty"` + ServiceAccount string `protobuf:"bytes,7,opt,name=serviceAccount,proto3" json:"serviceAccount,omitempty"` + Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` + FlinkVersion string `protobuf:"bytes,9,opt,name=flinkVersion,proto3" json:"flinkVersion,omitempty"` + Parallelism int32 `protobuf:"varint,10,opt,name=parallelism,proto3" json:"parallelism,omitempty"` + KubernetesClusterName string `protobuf:"bytes,11,opt,name=kubernetesClusterName,proto3" json:"kubernetesClusterName,omitempty"` + KubernetesClusterRegion string `protobuf:"bytes,12,opt,name=kubernetesClusterRegion,proto3" json:"kubernetesClusterRegion,omitempty"` // if using experiment flytekit-java this will contain all artifacts required // to run the task Jflyte *JFlyte `protobuf:"bytes,100,opt,name=jflyte,proto3" json:"jflyte,omitempty"` @@ -484,6 +486,20 @@ func (m *FlinkJob) GetParallelism() int32 { return 0 } +func (m *FlinkJob) GetKubernetesClusterName() string { + if m != nil { + return m.KubernetesClusterName + } + return "" +} + +func (m *FlinkJob) GetKubernetesClusterRegion() string { + if m != nil { + return m.KubernetesClusterRegion + } + return "" +} + func (m *FlinkJob) GetJflyte() *JFlyte { if m != nil { return m.Jflyte @@ -635,58 +651,60 @@ func init() { func init() { proto.RegisterFile("flyteidl-flink/flink.proto", fileDescriptor_13f39d29671649d9) } var fileDescriptor_13f39d29671649d9 = []byte{ - // 838 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0x1b, 0x45, - 0x14, 0xee, 0xf8, 0x2f, 0xeb, 0xe3, 0xca, 0x5d, 0x86, 0x8a, 0xac, 0xcc, 0x05, 0x61, 0x0b, 0xc5, - 0x69, 0xf0, 0xb6, 0x72, 0x40, 0xa2, 0x45, 0x15, 0xca, 0x92, 0xa4, 0x22,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0xe5, 0x90, 0xfb, 0x27, 0x02, 0x6c, 0xba, 0x2c, 0x13, 0xfb, - 0x50, 0x3d, 0x4f, 0x06, 0xc5, 0x13, 0xbe, 0x71, 0xc5, 0xb2, 0x4b, 0x70, 0xa2, 0xc1, 0xf8, 0x59, - 0xc9, 0x27, 0xf9, 0xfb, 0xec, 0x8b, 0xeb, 0x7d, 0x52, 0x56, 0x58, 0xa2, 0xfa, 0xf6, 0xcf, 0xed, - 0xf2, 0x97, 0x6e, 0xd0, 0x30, 0xdf, 0xae, 0xed, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x44, - 0xad, 0x44, 0x02, 0x07, 0x00, 0x00, + // 874 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0xae, 0xfc, 0x17, 0xf9, 0x38, 0x70, 0x35, 0xae, 0x5b, 0x04, 0xef, 0x62, 0x99, 0xba, 0x75, + 0x4e, 0x33, 0xab, 0x85, 0xd3, 0x01, 0x6d, 0x87, 0x62, 0x88, 0x9a, 0xa4, 0x58, 0x9a, 0x16, 0x19, + 0x9b, 0xb6, 0xc0, 0x82, 0x2c, 0xa0, 0x65, 0xda, 0x63, 0x2c, 0x53, 0x06, 0x49, 0x05, 0xf5, 0x2e, + 0xf7, 0x04, 0x5b, 0x9f, 0x67, 0x40, 0x9e, 0x67, 0xaf, 0xe0, 0xab, 0x81, 0x94, 0xfc, 0x23, 0x27, + 0x01, 0x02, 0xf4, 0xc6, 0xa0, 0xce, 0xf7, 0x9d, 0xef, 0x1c, 0x9d, 0xf3, 0x99, 0x82, 0x46, 0x2f, + 0x1a, 0x2b, 0xca, 0xba, 0x51, 0xab, 0x17, 0x31, 0x3e, 0x78, 0x60, 0x7e, 0xfd, 0x91, 0x88, 0x55, + 0x8c, 0xea, 0x53, 0xec, 0xd4, 0x44, 0x1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, 0xaf, 0xb0, 0x90, + 0x1a, 0x38, 0xbf, 0xd5, 0xf3, 0x5f, 0xd6, 0x4e, 0xc5, 0x7c, 0x2b, 0xb7, 0xfe, 0x0f, 0x00, 0x00, + 0xff, 0xff, 0xa2, 0x5a, 0xf0, 0x29, 0x72, 0x07, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl-flink/flink.pb.validate.go b/gen/pb-go/flyteidl-flink/flink.pb.validate.go index 3178da8..46142c0 100644 --- a/gen/pb-go/flyteidl-flink/flink.pb.validate.go +++ b/gen/pb-go/flyteidl-flink/flink.pb.validate.go @@ -436,6 +436,10 @@ func (m *FlinkJob) Validate() error { } } + // no validation rules for KubernetesClusterName + + // no validation rules for KubernetesClusterRegion + if v, ok := interface{}(m.GetJflyte()).(interface{ Validate() error }); ok { if err := v.Validate(); err != nil { return FlinkJobValidationError{ diff --git a/gen/pb-protodoc/flyteidl-flink/flink.proto.rst b/gen/pb-protodoc/flyteidl-flink/flink.proto.rst index 841c8ef..e5a1d3b 100644 --- a/gen/pb-protodoc/flyteidl-flink/flink.proto.rst +++ b/gen/pb-protodoc/flyteidl-flink/flink.proto.rst @@ -226,6 +226,8 @@ Custom Proto for Flink Plugin. "image": "...", "flinkVersion": "...", "parallelism": "...", + "kubernetesClusterName": "...", + "kubernetesClusterRegion": "...", "jflyte": "{...}" } @@ -279,6 +281,16 @@ flinkVersion parallelism (`int32 `_) +.. _api_field_flyteidl_flink.FlinkJob.kubernetesClusterName: + +kubernetesClusterName + (`string `_) + +.. _api_field_flyteidl_flink.FlinkJob.kubernetesClusterRegion: + +kubernetesClusterRegion + (`string `_) + .. _api_field_flyteidl_flink.FlinkJob.jflyte: jflyte @@ -293,7 +305,7 @@ jflyte flyteidl_flink.JobExecutionInfo ------------------------------- -`[flyteidl_flink.JobExecutionInfo proto] `_ +`[flyteidl_flink.JobExecutionInfo proto] `_ .. code-block:: json @@ -314,7 +326,7 @@ id flyteidl_flink.JobManagerExecutionInfo -------------------------------------- -`[flyteidl_flink.JobManagerExecutionInfo proto] `_ +`[flyteidl_flink.JobManagerExecutionInfo proto] `_ .. code-block:: json @@ -335,7 +347,7 @@ ingressURLs flyteidl_flink.FlinkExecutionInfo --------------------------------- -`[flyteidl_flink.FlinkExecutionInfo proto] `_ +`[flyteidl_flink.FlinkExecutionInfo proto] `_ .. code-block:: json diff --git a/protos/flyteidl-flink/flink.proto b/protos/flyteidl-flink/flink.proto index 90ce02e..9a1599f 100644 --- a/protos/flyteidl-flink/flink.proto +++ b/protos/flyteidl-flink/flink.proto @@ -64,6 +64,8 @@ message FlinkJob { string image = 8; string flinkVersion = 9; int32 parallelism = 10 [ (validate.rules).int32.gte = 0 ]; + string kubernetesClusterName = 11; + string kubernetesClusterRegion = 12; // if using experiment flytekit-java this will contain all artifacts required // to run the task