| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| global: |
| mode: standalone |
| # mode: cluster |
| |
| image: |
| registry: docker.io |
| # e.g registry.k8s.io |
| repository: nacos/nacos-cp-server |
| tag: latest |
| pullPolicy: IfNotPresent |
| |
| plugin: |
| enabled: true |
| image: |
| repository: nacos/nacos-peer-finder-plugin |
| tag: 1.1 |
| pullPolicy: IfNotPresent |
| |
| replicas: 1 |
| |
| domainName: cluster.local |
| |
| extraDeploy: [] |
| |
| nodeSelector: [] |
| |
| affinity: [] |
| |
| tolerations: [] |
| |
| maxUnavailable: [] |
| |
| resources: |
| limits: {} |
| requests: {} |
| |
| env: |
| preferhostmode: hostname |
| serverPort: 8848 |
| |
| storage: |
| type: ~ |
| # db: |
| # host: localhost |
| # name: nacos |
| # port: 3306 |
| # username: usernmae |
| # password: password |
| # param: characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false |
| |
| service: |
| name: http |
| ## |
| ## Service name. |
| ## |
| type: NodePort |
| ## |
| ## Service type. |
| ## |
| port: 8848 |
| ## |
| ## Service port. |
| ## |
| nodePort: 30000 |
| ## |
| ## Service nodePort. |
| ## |
| clusterIP: "" |
| ## |
| ## Service clusterIP. |
| ## |
| loadBalancerIP: "" |
| ## |
| ## Service loadBalancerIP. |
| ## |
| loadBalancerSourceRanges: "" |
| ## |
| ## Service loadBalancerSourceRanges. |
| ## |
| externalIPs: "" |
| ## |
| ## Service externalIPs. |
| |
| persistence: |
| enabled: false |
| accessModes: |
| - ReadWriteOnce |
| storageClassName: "" |
| size: 5Gi |
| ClaimName: {} |
| emptyDir: {} |
| |
| ## See `kubectl explain poddisruptionbudget.spec` for more |
| ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ |
| podDisruptionBudget: |
| enabled: false |
| minAvailable: 1 |
| # maxUnavailable: 1 |
| |
| ingress: |
| enabled: false |
| # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName |
| # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress |
| # ingressClassName: nginx |
| # Values can be templated |
| annotations: {} |
| # kubernetes.io/ingress.class: nginx |
| # kubernetes.io/tls-acme: "true" |
| labels: {} |
| path: / |
| ## |
| ## |
| # pathType is only for k8s >= 1.1= |
| pathType: Prefix |
| ## |
| ## |
| hosts: |
| - chart-example.local |
| ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services. |
| extraPaths: [] |
| # - path: /* |
| # backend: |
| # serviceName: ssl-redirect |
| # servicePort: use-annotation |
| ## Or for k8s > 1.19 |
| # - path: /* |
| # pathType: Prefix |
| # backend: |
| # service: |
| # name: ssl-redirect |
| # port: |
| # name: use-annotation |
| ## |
| ## |
| tls: [] |
| # - secretName: chart-example-tls |
| # hosts: |
| # - chart-example.local |
| |
| networkPolicy: |
| ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now. |
| ## |
| enabled: false |
| ## @param networkPolicy.allowExternal Don't require clientgen label for connections |
| ## The Policy model to apply. When set to false, only pods with the correct |
| ## clientgen label will have network access to dubbo-admin port defined. |
| ## When true, dubbo-admin will accept connections from any source |
| ## (with the correct destination port). |
| ## |
| ingress: true |
| ## @param networkPolicy.ingress When true enables the creation |
| ## an ingress network policy |
| ## |
| ## |
| ## |
| ## |
| egress: |
| ## @param networkPolicy.egress.enabled When enabled, an egress network policy will be |
| ## created allowing dubbo-admin to connect to external data sources from kubernetes cluster. |
| enabled: false |
| ## |
| ## @param networkPolicy.egress.ports Add individual ports to be allowed by the egress |
| ports: [] |
| ## Add ports to the egress by specifying - port: <port number> |
| ## E.X. |
| ## ports: |
| ## - port: 80 |
| ## - port: 443 |