You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/crd/bases/starrocks.com_starrocksclusters.yaml
+123Lines changed: 123 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -841,6 +841,19 @@ spec:
841
841
description: annotation for pods. user can config monitor annotation
842
842
for collect to monitor system.
843
843
type: object
844
+
args:
845
+
description: |-
846
+
Arguments to the entrypoint.
847
+
If this is not provided, it will use $(FE_SERVICE_NAME) for all components.
848
+
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
849
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
850
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
851
+
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
852
+
of whether the variable exists or not. Cannot be updated.
853
+
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
854
+
items:
855
+
type: string
856
+
type: array
844
857
beEnvVars:
845
858
description: beEnvVars is a slice of environment variables that
846
859
are added to the pods, the default is empty.
@@ -1001,6 +1014,16 @@ spec:
1001
1014
x-kubernetes-list-map-keys:
1002
1015
- name
1003
1016
x-kubernetes-list-type: map
1017
+
command:
1018
+
description: "Entrypoint array. Not executed within a shell.\nIf
1019
+
this is not provided, it will use default entrypoint for different
1020
+
components:\n\t1. For FE, it will use /opt/starrocks/fe_entrypoint.sh
1021
+
as the entrypoint.\n 2. For BE, it will use /opt/starrocks/be_entrypoint.sh
1022
+
as the entrypoint.\n 3. For CN, it will use /opt/starrocks/cn_entrypoint.sh
1023
+
as the entrypoint.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
1024
+
items:
1025
+
type: string
1026
+
type: array
1004
1027
configMapInfo:
1005
1028
description: the reference for configMap which store the config
1006
1029
info to start starrocks. e.g. be.conf, fe.conf, cn.conf.
@@ -1016,6 +1039,15 @@ spec:
1016
1039
description: the reference for configMap which allow users to
1017
1040
mount any files to container.
1018
1041
items:
1042
+
description: |-
1043
+
MountInfo
1044
+
The reason why we do not support defaultMode is that we use hash.HashObject to
1045
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
1046
+
and if this MountInfo type has been changed, the volume name will be changed too, and
1047
+
that will make pods restart.
1048
+
The default mode is 0644, and in order to support to set permission information for a configMap
1049
+
or secret, we add should specify the subPath and specify a command or args in the container.
1050
+
And It will be set 0755.
1019
1051
properties:
1020
1052
mountPath:
1021
1053
description: |-
@@ -2630,6 +2662,15 @@ spec:
2630
2662
secrets:
2631
2663
description: the reference for secrets.
2632
2664
items:
2665
+
description: |-
2666
+
MountInfo
2667
+
The reason why we do not support defaultMode is that we use hash.HashObject to
2668
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
2669
+
and if this MountInfo type has been changed, the volume name will be changed too, and
2670
+
that will make pods restart.
2671
+
The default mode is 0644, and in order to support to set permission information for a configMap
2672
+
or secret, we add should specify the subPath and specify a command or args in the container.
2673
+
And It will be set 0755.
2633
2674
properties:
2634
2675
mountPath:
2635
2676
description: |-
@@ -4910,6 +4951,19 @@ spec:
4910
4951
description: annotation for pods. user can config monitor annotation
4911
4952
for collect to monitor system.
4912
4953
type: object
4954
+
args:
4955
+
description: |-
4956
+
Arguments to the entrypoint.
4957
+
If this is not provided, it will use $(FE_SERVICE_NAME) for all components.
4958
+
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
4959
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
4960
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
4961
+
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
4962
+
of whether the variable exists or not. Cannot be updated.
4963
+
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
4964
+
items:
4965
+
type: string
4966
+
type: array
4913
4967
autoScalingPolicy:
4914
4968
description: AutoScalingPolicy auto scaling strategy
4915
4969
properties:
@@ -5691,6 +5745,16 @@ spec:
5691
5745
- name
5692
5746
type: object
5693
5747
type: array
5748
+
command:
5749
+
description: "Entrypoint array. Not executed within a shell.\nIf
5750
+
this is not provided, it will use default entrypoint for different
5751
+
components:\n\t1. For FE, it will use /opt/starrocks/fe_entrypoint.sh
5752
+
as the entrypoint.\n 2. For BE, it will use /opt/starrocks/be_entrypoint.sh
5753
+
as the entrypoint.\n 3. For CN, it will use /opt/starrocks/cn_entrypoint.sh
5754
+
as the entrypoint.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
5755
+
items:
5756
+
type: string
5757
+
type: array
5694
5758
configMapInfo:
5695
5759
description: the reference for configMap which store the config
5696
5760
info to start starrocks. e.g. be.conf, fe.conf, cn.conf.
@@ -5706,6 +5770,15 @@ spec:
5706
5770
description: the reference for configMap which allow users to
5707
5771
mount any files to container.
5708
5772
items:
5773
+
description: |-
5774
+
MountInfo
5775
+
The reason why we do not support defaultMode is that we use hash.HashObject to
5776
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
5777
+
and if this MountInfo type has been changed, the volume name will be changed too, and
5778
+
that will make pods restart.
5779
+
The default mode is 0644, and in order to support to set permission information for a configMap
5780
+
or secret, we add should specify the subPath and specify a command or args in the container.
5781
+
And It will be set 0755.
5709
5782
properties:
5710
5783
mountPath:
5711
5784
description: |-
@@ -7320,6 +7393,15 @@ spec:
7320
7393
secrets:
7321
7394
description: the reference for secrets.
7322
7395
items:
7396
+
description: |-
7397
+
MountInfo
7398
+
The reason why we do not support defaultMode is that we use hash.HashObject to
7399
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
7400
+
and if this MountInfo type has been changed, the volume name will be changed too, and
7401
+
that will make pods restart.
7402
+
The default mode is 0644, and in order to support to set permission information for a configMap
7403
+
or secret, we add should specify the subPath and specify a command or args in the container.
7404
+
And It will be set 0755.
7323
7405
properties:
7324
7406
mountPath:
7325
7407
description: |-
@@ -10901,6 +10983,19 @@ spec:
10901
10983
description: annotation for pods. user can config monitor annotation
10902
10984
for collect to monitor system.
10903
10985
type: object
10986
+
args:
10987
+
description: |-
10988
+
Arguments to the entrypoint.
10989
+
If this is not provided, it will use $(FE_SERVICE_NAME) for all components.
10990
+
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
10991
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
10992
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
10993
+
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
10994
+
of whether the variable exists or not. Cannot be updated.
10995
+
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
10996
+
items:
10997
+
type: string
10998
+
type: array
10904
10999
capabilities:
10905
11000
description: |-
10906
11001
refer to https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container
@@ -10946,6 +11041,16 @@ spec:
10946
11041
x-kubernetes-list-map-keys:
10947
11042
- name
10948
11043
x-kubernetes-list-type: map
11044
+
command:
11045
+
description: "Entrypoint array. Not executed within a shell.\nIf
11046
+
this is not provided, it will use default entrypoint for different
11047
+
components:\n\t1. For FE, it will use /opt/starrocks/fe_entrypoint.sh
11048
+
as the entrypoint.\n 2. For BE, it will use /opt/starrocks/be_entrypoint.sh
11049
+
as the entrypoint.\n 3. For CN, it will use /opt/starrocks/cn_entrypoint.sh
11050
+
as the entrypoint.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
11051
+
items:
11052
+
type: string
11053
+
type: array
10949
11054
configMapInfo:
10950
11055
description: the reference for configMap which store the config
10951
11056
info to start starrocks. e.g. be.conf, fe.conf, cn.conf.
@@ -10961,6 +11066,15 @@ spec:
10961
11066
description: the reference for configMap which allow users to
10962
11067
mount any files to container.
10963
11068
items:
11069
+
description: |-
11070
+
MountInfo
11071
+
The reason why we do not support defaultMode is that we use hash.HashObject to
11072
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
11073
+
and if this MountInfo type has been changed, the volume name will be changed too, and
11074
+
that will make pods restart.
11075
+
The default mode is 0644, and in order to support to set permission information for a configMap
11076
+
or secret, we add should specify the subPath and specify a command or args in the container.
11077
+
And It will be set 0755.
10964
11078
properties:
10965
11079
mountPath:
10966
11080
description: |-
@@ -12690,6 +12804,15 @@ spec:
12690
12804
secrets:
12691
12805
description: the reference for secrets.
12692
12806
items:
12807
+
description: |-
12808
+
MountInfo
12809
+
The reason why we do not support defaultMode is that we use hash.HashObject to
12810
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
12811
+
and if this MountInfo type has been changed, the volume name will be changed too, and
12812
+
that will make pods restart.
12813
+
The default mode is 0644, and in order to support to set permission information for a configMap
12814
+
or secret, we add should specify the subPath and specify a command or args in the container.
Copy file name to clipboardExpand all lines: config/crd/bases/starrocks.com_starrockswarehouses.yaml
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -831,6 +831,19 @@ spec:
831
831
description: annotation for pods. user can config monitor annotation
832
832
for collect to monitor system.
833
833
type: object
834
+
args:
835
+
description: |-
836
+
Arguments to the entrypoint.
837
+
If this is not provided, it will use $(FE_SERVICE_NAME) for all components.
838
+
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
839
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
840
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
841
+
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
842
+
of whether the variable exists or not. Cannot be updated.
843
+
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
844
+
items:
845
+
type: string
846
+
type: array
834
847
autoScalingPolicy:
835
848
description: AutoScalingPolicy defines auto scaling policy
836
849
properties:
@@ -1497,6 +1510,16 @@ spec:
1497
1510
x-kubernetes-list-map-keys:
1498
1511
- name
1499
1512
x-kubernetes-list-type: map
1513
+
command:
1514
+
description: "Entrypoint array. Not executed within a shell.\nIf
1515
+
this is not provided, it will use default entrypoint for different
1516
+
components:\n\t1. For FE, it will use /opt/starrocks/fe_entrypoint.sh
1517
+
as the entrypoint.\n 2. For BE, it will use /opt/starrocks/be_entrypoint.sh
1518
+
as the entrypoint.\n 3. For CN, it will use /opt/starrocks/cn_entrypoint.sh
1519
+
as the entrypoint.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
1520
+
items:
1521
+
type: string
1522
+
type: array
1500
1523
configMapInfo:
1501
1524
description: the reference for configMap which store the config
1502
1525
info to start starrocks. e.g. be.conf, fe.conf, cn.conf.
@@ -1512,6 +1535,15 @@ spec:
1512
1535
description: the reference for configMap which allow users to
1513
1536
mount any files to container.
1514
1537
items:
1538
+
description: |-
1539
+
MountInfo
1540
+
The reason why we do not support defaultMode is that we use hash.HashObject to
1541
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
1542
+
and if this MountInfo type has been changed, the volume name will be changed too, and
1543
+
that will make pods restart.
1544
+
The default mode is 0644, and in order to support to set permission information for a configMap
1545
+
or secret, we add should specify the subPath and specify a command or args in the container.
1546
+
And It will be set 0755.
1515
1547
properties:
1516
1548
mountPath:
1517
1549
description: |-
@@ -3241,6 +3273,15 @@ spec:
3241
3273
secrets:
3242
3274
description: the reference for secrets.
3243
3275
items:
3276
+
description: |-
3277
+
MountInfo
3278
+
The reason why we do not support defaultMode is that we use hash.HashObject to
3279
+
calculate the actual volume name. This volume name is used in pod template of statefulset,
3280
+
and if this MountInfo type has been changed, the volume name will be changed too, and
3281
+
that will make pods restart.
3282
+
The default mode is 0644, and in order to support to set permission information for a configMap
3283
+
or secret, we add should specify the subPath and specify a command or args in the container.
0 commit comments