tencentcloud-sdk-tke 3.0.1058 → 3.0.1060
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/models.rb +88 -60
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3215552b24dc8053fb6c054e68e93c4be2b6603d
|
4
|
+
data.tar.gz: fba088c3415dcf05e1707acaf6cefb3ebfb8dfdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec1f0fe1c20381710a7c1e368aa1f3dad34dd1e87291096c44062109721307ee55e38d0898ee9c43dcb68364dcd327ae26046a437130f07fcad68fb69e7209f
|
7
|
+
data.tar.gz: a8e62ca80d031d6f9b4b83caba1e222d7116c6fdcb1dd5c43869bb94968bbdf22f58ffd18aed3c580e271a13f92c39e7567ff95e79ea224432a9f7350d293809
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1060
|
data/lib/v20180525/models.rb
CHANGED
@@ -861,22 +861,34 @@ module TencentCloud
|
|
861
861
|
|
862
862
|
# 集群高级配置
|
863
863
|
class ClusterAdvancedSettings < TencentCloud::Common::AbstractModel
|
864
|
-
# @param IPVS: 是否启用IPVS
|
865
|
-
# @type IPVS: Boolean
|
866
864
|
# @param AsEnabled: 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
|
867
865
|
# @type AsEnabled: Boolean
|
866
|
+
# @param AuditEnabled: 是否开启审计开关
|
867
|
+
# @type AuditEnabled: Boolean
|
868
|
+
# @param AuditLogTopicId: 审计日志上传到的topic
|
869
|
+
# @type AuditLogTopicId: String
|
870
|
+
# @param AuditLogsetId: 审计日志上传到的logset日志集
|
871
|
+
# @type AuditLogsetId: String
|
872
|
+
# @param BasePodNumber: 自定义模式下的基础pod数量
|
873
|
+
# @type BasePodNumber: Integer
|
874
|
+
# @param CiliumMode: 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
|
875
|
+
# @type CiliumMode: String
|
868
876
|
# @param ContainerRuntime: 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
|
869
877
|
# @type ContainerRuntime: String
|
870
|
-
# @param
|
871
|
-
# @type
|
878
|
+
# @param DeletionProtection: 是否启用集群删除保护
|
879
|
+
# @type DeletionProtection: Boolean
|
880
|
+
# @param EnableCustomizedPodCIDR: 是否开节点podCIDR大小的自定义模式
|
881
|
+
# @type EnableCustomizedPodCIDR: Boolean
|
882
|
+
# @param EtcdOverrideConfigs: 元数据拆分存储Etcd配置
|
883
|
+
# @type EtcdOverrideConfigs: Array
|
872
884
|
# @param ExtraArgs: 集群自定义参数
|
873
885
|
# @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.ClusterExtraArgs`
|
874
|
-
# @param
|
875
|
-
# @type
|
886
|
+
# @param IPVS: 是否启用IPVS
|
887
|
+
# @type IPVS: Boolean
|
888
|
+
# @param IsDualStack: 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
|
889
|
+
# @type IsDualStack: Boolean
|
876
890
|
# @param IsNonStaticIpMode: 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
|
877
891
|
# @type IsNonStaticIpMode: Boolean
|
878
|
-
# @param DeletionProtection: 是否启用集群删除保护
|
879
|
-
# @type DeletionProtection: Boolean
|
880
892
|
# @param KubeProxyMode: 集群的网络代理模型,目前tke集群支持的网络代理模式有三种:iptables,ipvs,ipvs-bpf,此参数仅在使用ipvs-bpf模式时使用,三种网络模式的参数设置关系如下:
|
881
893
|
# iptables模式:IPVS和KubeProxyMode都不设置
|
882
894
|
# ipvs模式: 设置IPVS为true, KubeProxyMode不设置
|
@@ -885,74 +897,73 @@ module TencentCloud
|
|
885
897
|
# 1. 集群版本必须为1.14及以上;
|
886
898
|
# 2. 系统镜像必须是: Tencent Linux 2.4;
|
887
899
|
# @type KubeProxyMode: String
|
888
|
-
# @param
|
889
|
-
# @type
|
890
|
-
# @param
|
891
|
-
# @type
|
892
|
-
# @param AuditLogTopicId: 审计日志上传到的topic
|
893
|
-
# @type AuditLogTopicId: String
|
894
|
-
# @param VpcCniType: 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
|
895
|
-
# @type VpcCniType: String
|
896
|
-
# @param RuntimeVersion: 运行时版本
|
897
|
-
# @type RuntimeVersion: String
|
898
|
-
# @param EnableCustomizedPodCIDR: 是否开节点podCIDR大小的自定义模式
|
899
|
-
# @type EnableCustomizedPodCIDR: Boolean
|
900
|
-
# @param BasePodNumber: 自定义模式下的基础pod数量
|
901
|
-
# @type BasePodNumber: Integer
|
902
|
-
# @param CiliumMode: 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
|
903
|
-
# @type CiliumMode: String
|
904
|
-
# @param IsDualStack: 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
|
905
|
-
# @type IsDualStack: Boolean
|
900
|
+
# @param NetworkType: 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
|
901
|
+
# @type NetworkType: String
|
902
|
+
# @param NodeNameType: 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
|
903
|
+
# @type NodeNameType: String
|
906
904
|
# @param QGPUShareEnable: 是否开启QGPU共享
|
907
905
|
# @type QGPUShareEnable: Boolean
|
906
|
+
# @param RuntimeVersion: 运行时版本
|
907
|
+
# @type RuntimeVersion: String
|
908
|
+
# @param VpcCniType: 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
|
909
|
+
# @type VpcCniType: String
|
908
910
|
|
909
|
-
attr_accessor :
|
911
|
+
attr_accessor :AsEnabled, :AuditEnabled, :AuditLogTopicId, :AuditLogsetId, :BasePodNumber, :CiliumMode, :ContainerRuntime, :DeletionProtection, :EnableCustomizedPodCIDR, :EtcdOverrideConfigs, :ExtraArgs, :IPVS, :IsDualStack, :IsNonStaticIpMode, :KubeProxyMode, :NetworkType, :NodeNameType, :QGPUShareEnable, :RuntimeVersion, :VpcCniType
|
910
912
|
|
911
|
-
def initialize(
|
912
|
-
@IPVS = ipvs
|
913
|
+
def initialize(asenabled=nil, auditenabled=nil, auditlogtopicid=nil, auditlogsetid=nil, basepodnumber=nil, ciliummode=nil, containerruntime=nil, deletionprotection=nil, enablecustomizedpodcidr=nil, etcdoverrideconfigs=nil, extraargs=nil, ipvs=nil, isdualstack=nil, isnonstaticipmode=nil, kubeproxymode=nil, networktype=nil, nodenametype=nil, qgpushareenable=nil, runtimeversion=nil, vpccnitype=nil)
|
913
914
|
@AsEnabled = asenabled
|
914
|
-
@ContainerRuntime = containerruntime
|
915
|
-
@NodeNameType = nodenametype
|
916
|
-
@ExtraArgs = extraargs
|
917
|
-
@NetworkType = networktype
|
918
|
-
@IsNonStaticIpMode = isnonstaticipmode
|
919
|
-
@DeletionProtection = deletionprotection
|
920
|
-
@KubeProxyMode = kubeproxymode
|
921
915
|
@AuditEnabled = auditenabled
|
922
|
-
@AuditLogsetId = auditlogsetid
|
923
916
|
@AuditLogTopicId = auditlogtopicid
|
924
|
-
@
|
925
|
-
@RuntimeVersion = runtimeversion
|
926
|
-
@EnableCustomizedPodCIDR = enablecustomizedpodcidr
|
917
|
+
@AuditLogsetId = auditlogsetid
|
927
918
|
@BasePodNumber = basepodnumber
|
928
919
|
@CiliumMode = ciliummode
|
920
|
+
@ContainerRuntime = containerruntime
|
921
|
+
@DeletionProtection = deletionprotection
|
922
|
+
@EnableCustomizedPodCIDR = enablecustomizedpodcidr
|
923
|
+
@EtcdOverrideConfigs = etcdoverrideconfigs
|
924
|
+
@ExtraArgs = extraargs
|
925
|
+
@IPVS = ipvs
|
929
926
|
@IsDualStack = isdualstack
|
927
|
+
@IsNonStaticIpMode = isnonstaticipmode
|
928
|
+
@KubeProxyMode = kubeproxymode
|
929
|
+
@NetworkType = networktype
|
930
|
+
@NodeNameType = nodenametype
|
930
931
|
@QGPUShareEnable = qgpushareenable
|
932
|
+
@RuntimeVersion = runtimeversion
|
933
|
+
@VpcCniType = vpccnitype
|
931
934
|
end
|
932
935
|
|
933
936
|
def deserialize(params)
|
934
|
-
@IPVS = params['IPVS']
|
935
937
|
@AsEnabled = params['AsEnabled']
|
938
|
+
@AuditEnabled = params['AuditEnabled']
|
939
|
+
@AuditLogTopicId = params['AuditLogTopicId']
|
940
|
+
@AuditLogsetId = params['AuditLogsetId']
|
941
|
+
@BasePodNumber = params['BasePodNumber']
|
942
|
+
@CiliumMode = params['CiliumMode']
|
936
943
|
@ContainerRuntime = params['ContainerRuntime']
|
937
|
-
@
|
944
|
+
@DeletionProtection = params['DeletionProtection']
|
945
|
+
@EnableCustomizedPodCIDR = params['EnableCustomizedPodCIDR']
|
946
|
+
unless params['EtcdOverrideConfigs'].nil?
|
947
|
+
@EtcdOverrideConfigs = []
|
948
|
+
params['EtcdOverrideConfigs'].each do |i|
|
949
|
+
etcdoverrideconfig_tmp = EtcdOverrideConfig.new
|
950
|
+
etcdoverrideconfig_tmp.deserialize(i)
|
951
|
+
@EtcdOverrideConfigs << etcdoverrideconfig_tmp
|
952
|
+
end
|
953
|
+
end
|
938
954
|
unless params['ExtraArgs'].nil?
|
939
955
|
@ExtraArgs = ClusterExtraArgs.new
|
940
956
|
@ExtraArgs.deserialize(params['ExtraArgs'])
|
941
957
|
end
|
942
|
-
@
|
958
|
+
@IPVS = params['IPVS']
|
959
|
+
@IsDualStack = params['IsDualStack']
|
943
960
|
@IsNonStaticIpMode = params['IsNonStaticIpMode']
|
944
|
-
@DeletionProtection = params['DeletionProtection']
|
945
961
|
@KubeProxyMode = params['KubeProxyMode']
|
946
|
-
@
|
947
|
-
@
|
948
|
-
@AuditLogTopicId = params['AuditLogTopicId']
|
949
|
-
@VpcCniType = params['VpcCniType']
|
950
|
-
@RuntimeVersion = params['RuntimeVersion']
|
951
|
-
@EnableCustomizedPodCIDR = params['EnableCustomizedPodCIDR']
|
952
|
-
@BasePodNumber = params['BasePodNumber']
|
953
|
-
@CiliumMode = params['CiliumMode']
|
954
|
-
@IsDualStack = params['IsDualStack']
|
962
|
+
@NetworkType = params['NetworkType']
|
963
|
+
@NodeNameType = params['NodeNameType']
|
955
964
|
@QGPUShareEnable = params['QGPUShareEnable']
|
965
|
+
@RuntimeVersion = params['RuntimeVersion']
|
966
|
+
@VpcCniType = params['VpcCniType']
|
956
967
|
end
|
957
968
|
end
|
958
969
|
|
@@ -1270,6 +1281,9 @@ module TencentCloud
|
|
1270
1281
|
|
1271
1282
|
# 集群master自定义参数
|
1272
1283
|
class ClusterExtraArgs < TencentCloud::Common::AbstractModel
|
1284
|
+
# @param Etcd: etcd自定义参数,只支持独立集群
|
1285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1286
|
+
# @type Etcd: Array
|
1273
1287
|
# @param KubeAPIServer: kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
1274
1288
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1275
1289
|
# @type KubeAPIServer: Array
|
@@ -1279,24 +1293,21 @@ module TencentCloud
|
|
1279
1293
|
# @param KubeScheduler: kube-scheduler自定义参数
|
1280
1294
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1281
1295
|
# @type KubeScheduler: Array
|
1282
|
-
# @param Etcd: etcd自定义参数,只支持独立集群
|
1283
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1284
|
-
# @type Etcd: Array
|
1285
1296
|
|
1286
|
-
attr_accessor :KubeAPIServer, :KubeControllerManager, :KubeScheduler
|
1297
|
+
attr_accessor :Etcd, :KubeAPIServer, :KubeControllerManager, :KubeScheduler
|
1287
1298
|
|
1288
|
-
def initialize(
|
1299
|
+
def initialize(etcd=nil, kubeapiserver=nil, kubecontrollermanager=nil, kubescheduler=nil)
|
1300
|
+
@Etcd = etcd
|
1289
1301
|
@KubeAPIServer = kubeapiserver
|
1290
1302
|
@KubeControllerManager = kubecontrollermanager
|
1291
1303
|
@KubeScheduler = kubescheduler
|
1292
|
-
@Etcd = etcd
|
1293
1304
|
end
|
1294
1305
|
|
1295
1306
|
def deserialize(params)
|
1307
|
+
@Etcd = params['Etcd']
|
1296
1308
|
@KubeAPIServer = params['KubeAPIServer']
|
1297
1309
|
@KubeControllerManager = params['KubeControllerManager']
|
1298
1310
|
@KubeScheduler = params['KubeScheduler']
|
1299
|
-
@Etcd = params['Etcd']
|
1300
1311
|
end
|
1301
1312
|
end
|
1302
1313
|
|
@@ -11601,6 +11612,22 @@ module TencentCloud
|
|
11601
11612
|
end
|
11602
11613
|
end
|
11603
11614
|
|
11615
|
+
# 元数据拆分存储Etcd配置
|
11616
|
+
class EtcdOverrideConfig < TencentCloud::Common::AbstractModel
|
11617
|
+
# @param Resources: k8s资源,支持核心资源,控制类资源,配置及敏感资源
|
11618
|
+
# @type Resources: Array
|
11619
|
+
|
11620
|
+
attr_accessor :Resources
|
11621
|
+
|
11622
|
+
def initialize(resources=nil)
|
11623
|
+
@Resources = resources
|
11624
|
+
end
|
11625
|
+
|
11626
|
+
def deserialize(params)
|
11627
|
+
@Resources = params['Resources']
|
11628
|
+
end
|
11629
|
+
end
|
11630
|
+
|
11604
11631
|
# 服务事件
|
11605
11632
|
class Event < TencentCloud::Common::AbstractModel
|
11606
11633
|
# @param PodName: pod名称
|
@@ -12598,6 +12625,7 @@ module TencentCloud
|
|
12598
12625
|
# @param CreatedTime: 添加时间
|
12599
12626
|
# @type CreatedTime: String
|
12600
12627
|
# @param LanIP: 节点内网IP
|
12628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12601
12629
|
# @type LanIP: String
|
12602
12630
|
# @param NodePoolId: 资源池ID
|
12603
12631
|
# @type NodePoolId: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1060
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|