检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
根据实际需求,例如修改URI更新服务路由,YAML设置如下: apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: ratings-route spec: hosts:
YAML设置如下: apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: ratings-route spec: hosts: - ratings.prod.svc.cluster.local
当前数据选择YAML,在编辑栏进行编辑(根据实际需求调整配置参数): apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: ratings-route spec: hosts
YAML设置示例如下(根据实际需求调整配置参数): apiVersion: v1 kind: VirtualService metadata: name: ratings-route spec: hosts: - ratings.prod.svc.cluster.local
YAML设置如下(根据实际需求调整配置参数): apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: forecast namespace: weather spec:
YAML设置参考如下(根据实际需求调整配置参数): apiVersion: v1 data: tls.crt: LS0== # base64后 tls.key: LS0== # base64后 kind: Secret metadata: name: httpbin-credential
YAML设置示例如下(根据实际需求调整配置参数): apiVersion: v1 kind: VirtualService metadata: name: reviews-route spec: hosts: - reviews.prod.svc.cluster.local
YAML设置示例如下(根据实际需求调整配置参数): apiVersion: v1 kind: VirtualService metadata: name: reviews-route spec: hosts: - reviews.prod.svc.cluster.local
在801端口上创建负载均衡器,用于接收HTTP连接,只处理HTTP协议的流量(根据实际需求调整配置参数): apiVersion: gateway.networking.k8s.io/v1beta1 kind: Gateway metadata: annotations:
json文件格式 文件名称为configmap.json,配置示例如下: { "kind": "ConfigMap", "apiVersion": "v1", "metadata": { "name": "paas-broker-app-017", "namespace
{ "apiVersion": "v1", "kind": "Secret", "metadata": { "name": "mysecret", "namespace": "default" }, "data": { "username
YAML设置参考如下(根据实际需求调整配置参数): apiVersion: gateway.networking.k8s.io/v1alpha2 kind: TLSRoute metadata: name: nginx namespace: whtest spec: parentRefs
YAML设置参考如下(根据实际需求调整配置参数): apiVersion: gateway.networking.k8s.io/v1alpha2 kind: TCPRoute metadata: name: tcproute namespace: whtest spec:
YAML设置参考如下(根据实际需求调整配置参数): apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: httproute1 namespace: whtest spec
apiVersion: remedy.karmada.io/v1alpha1 kind: Remedy metadata: name: foo spec: clusterAffinity: clusterNames: - member1 actions
创建的密钥的名称不要使用mesh-kubeconfig,因为apiserver也会自动创建这个名字的密钥,如果使用了这个名称可能会被覆盖。 描述:(可选)。 密钥类型:选择“其他”,填写密钥类型为“cfe/secure-opaque”。
kubectl apply -f mci.yaml apiVersion: networking.karmada.io/v1alpha1 kind: MultiClusterIngress metadata: name: nginx-ingress-region1 namespace
apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeSelector: # 节点选择,当节点拥有gpu=true标签时才在节点上创建Pod gpu: true ...
apiVersion: v1 kind: Pod metadata: name: nginx spec: nodeSelector: # 节点选择,当节点拥有gpu=true标签时才在节点上创建Pod gpu: true ...
apiVersion: apps/v1 kind: Deployment metadata: annotations: description: '' labels: appgroup: '' version: v1 name: demo namespace