美文网首页
Kind 部署K8s集群

Kind 部署K8s集群

作者: sexy_cyber | 来源:发表于2023-09-12 21:52 被阅读0次
    • 部署命令
    kind create cluster --config kind.yaml --name spiders
    
    • 其中spiders为集群的名字,kind.yaml为集群拉起配置(主要是暴露的端口号)

    • kind.yaml详细配置:

      • 暴露的端口范围要尽可能的广,否则后面可能会不够用的
    kind: Cluster
    apiVersion: kind.x-k8s.io/v1alpha4
    networking:
      apiServerAddress: "0.0.0.0"
      apiServerPort: 6443
    nodes:
      - role: control-plane
        extraPortMappings:
        - containerPort: 30000
          hostPort: 30000
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30001
          hostPort: 30001
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30002
          hostPort: 30002
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30003
          hostPort: 30003
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30004
          hostPort: 30004
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30005
          hostPort: 30005
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30006
          hostPort: 30006
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30007
          hostPort: 30007
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30008
          hostPort: 30008
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30009
          hostPort: 30009
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30010
          hostPort: 30010
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30011
          hostPort: 30011
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30012
          hostPort: 30012
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30013
          hostPort: 30013
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30014
          hostPort: 30014
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30015
          hostPort: 30015
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30016
          hostPort: 30016
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30017
          hostPort: 30017
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30018
          hostPort: 30018
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30019
          hostPort: 30019
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30020
          hostPort: 30020
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30021
          hostPort: 30021
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30022
          hostPort: 30022
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30023
          hostPort: 30023
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30024
          hostPort: 30024
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30025
          hostPort: 30025
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30026
          hostPort: 30026
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30027
          hostPort: 30027
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30028
          hostPort: 30028
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30029
          hostPort: 30029
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30030
          hostPort: 30030
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30031
          hostPort: 30031
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30032
          hostPort: 30032
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30033
          hostPort: 30033
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30034
          hostPort: 30034
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30035
          hostPort: 30035
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30036
          hostPort: 30036
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30037
          hostPort: 30037
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30038
          hostPort: 30038
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30039
          hostPort: 30039
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30040
          hostPort: 30040
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30041
          hostPort: 30041
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30042
          hostPort: 30042
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30043
          hostPort: 30043
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30044
          hostPort: 30044
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30045
          hostPort: 30045
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30046
          hostPort: 30046
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30047
          hostPort: 30047
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30048
          hostPort: 30048
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30049
          hostPort: 30049
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30050
          hostPort: 30050
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30051
          hostPort: 30051
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30052
          hostPort: 30052
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30053
          hostPort: 30053
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30054
          hostPort: 30054
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30055
          hostPort: 30055
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30056
          hostPort: 30056
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30057
          hostPort: 30057
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30058
          hostPort: 30058
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30059
          hostPort: 30059
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30060
          hostPort: 30060
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30061
          hostPort: 30061
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30062
          hostPort: 30062
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30063
          hostPort: 30063
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30064
          hostPort: 30064
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30065
          hostPort: 30065
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30066
          hostPort: 30066
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30067
          hostPort: 30067
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30068
          hostPort: 30068
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30069
          hostPort: 30069
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30070
          hostPort: 30070
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30071
          hostPort: 30071
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30072
          hostPort: 30072
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30073
          hostPort: 30073
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30074
          hostPort: 30074
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30075
          hostPort: 30075
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30076
          hostPort: 30076
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30077
          hostPort: 30077
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30078
          hostPort: 30078
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30079
          hostPort: 30079
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30080
          hostPort: 30080
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30081
          hostPort: 30081
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30082
          hostPort: 30082
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30083
          hostPort: 30083
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30084
          hostPort: 30084
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30085
          hostPort: 30085
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30086
          hostPort: 30086
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30087
          hostPort: 30087
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30088
          hostPort: 30088
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30089
          hostPort: 30089
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30090
          hostPort: 30090
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30091
          hostPort: 30091
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30092
          hostPort: 30092
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30093
          hostPort: 30093
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30094
          hostPort: 30094
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30095
          hostPort: 30095
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30096
          hostPort: 30096
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30097
          hostPort: 30097
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30098
          hostPort: 30098
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30099
          hostPort: 30099
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30100
          hostPort: 30100
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30101
          hostPort: 30101
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30102
          hostPort: 30102
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30103
          hostPort: 30103
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30104
          hostPort: 30104
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30105
          hostPort: 30105
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30106
          hostPort: 30106
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30107
          hostPort: 30107
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30108
          hostPort: 30108
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30109
          hostPort: 30109
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30110
          hostPort: 30110
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30111
          hostPort: 30111
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30112
          hostPort: 30112
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30113
          hostPort: 30113
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30114
          hostPort: 30114
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30115
          hostPort: 30115
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30116
          hostPort: 30116
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30117
          hostPort: 30117
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30118
          hostPort: 30118
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30119
          hostPort: 30119
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30120
          hostPort: 30120
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30121
          hostPort: 30121
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30122
          hostPort: 30122
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30123
          hostPort: 30123
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30124
          hostPort: 30124
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30125
          hostPort: 30125
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30126
          hostPort: 30126
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30127
          hostPort: 30127
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30128
          hostPort: 30128
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30129
          hostPort: 30129
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30130
          hostPort: 30130
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30131
          hostPort: 30131
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30132
          hostPort: 30132
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30133
          hostPort: 30133
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30134
          hostPort: 30134
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30135
          hostPort: 30135
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30136
          hostPort: 30136
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30137
          hostPort: 30137
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30138
          hostPort: 30138
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30139
          hostPort: 30139
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30140
          hostPort: 30140
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30141
          hostPort: 30141
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30142
          hostPort: 30142
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30143
          hostPort: 30143
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30144
          hostPort: 30144
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30145
          hostPort: 30145
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30146
          hostPort: 30146
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30147
          hostPort: 30147
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30148
          hostPort: 30148
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30149
          hostPort: 30149
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30150
          hostPort: 30150
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30151
          hostPort: 30151
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30152
          hostPort: 30152
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30153
          hostPort: 30153
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30154
          hostPort: 30154
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30155
          hostPort: 30155
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30156
          hostPort: 30156
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30157
          hostPort: 30157
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30158
          hostPort: 30158
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30159
          hostPort: 30159
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30160
          hostPort: 30160
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30161
          hostPort: 30161
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30162
          hostPort: 30162
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30163
          hostPort: 30163
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30164
          hostPort: 30164
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30165
          hostPort: 30165
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30166
          hostPort: 30166
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30167
          hostPort: 30167
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30168
          hostPort: 30168
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30169
          hostPort: 30169
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30170
          hostPort: 30170
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30171
          hostPort: 30171
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30172
          hostPort: 30172
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30173
          hostPort: 30173
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30174
          hostPort: 30174
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30175
          hostPort: 30175
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30176
          hostPort: 30176
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30177
          hostPort: 30177
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30178
          hostPort: 30178
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30179
          hostPort: 30179
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30180
          hostPort: 30180
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30181
          hostPort: 30181
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30182
          hostPort: 30182
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30183
          hostPort: 30183
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30184
          hostPort: 30184
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30185
          hostPort: 30185
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30186
          hostPort: 30186
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30187
          hostPort: 30187
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30188
          hostPort: 30188
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30189
          hostPort: 30189
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30190
          hostPort: 30190
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30191
          hostPort: 30191
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30192
          hostPort: 30192
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30193
          hostPort: 30193
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30194
          hostPort: 30194
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30195
          hostPort: 30195
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30196
          hostPort: 30196
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30197
          hostPort: 30197
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30198
          hostPort: 30198
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30199
          hostPort: 30199
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30200
          hostPort: 30200
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30201
          hostPort: 30201
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30202
          hostPort: 30202
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30203
          hostPort: 30203
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30204
          hostPort: 30204
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30205
          hostPort: 30205
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30206
          hostPort: 30206
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30207
          hostPort: 30207
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30208
          hostPort: 30208
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30209
          hostPort: 30209
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30210
          hostPort: 30210
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30211
          hostPort: 30211
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30212
          hostPort: 30212
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30213
          hostPort: 30213
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30214
          hostPort: 30214
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30215
          hostPort: 30215
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30216
          hostPort: 30216
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30217
          hostPort: 30217
          listenAddress: "0.0.0.0"
          protocol: tcp
        - containerPort: 30218
          hostPort: 30218
          listenAddress: "0.0.0.0"
          protocol: tcp
     
    

    相关文章

      网友评论

          本文标题:Kind 部署K8s集群

          本文链接:https://www.haomeiwen.com/subject/agyuvdtx.html