|
| 1 | +--- |
| 2 | +# Source: apollo/templates/adminservice/secret.yaml |
| 3 | +kind: Secret |
| 4 | +apiVersion: v1 |
| 5 | +metadata: |
| 6 | + name: release-name-apollo-adminservice |
| 7 | +data: |
| 8 | + application-github.properties: | |
| 9 | + spring.datasource.url = jdbc:mysql://:3306/ApolloConfigDB?characterEncoding=utf8 |
| 10 | + spring.datasource.username = 1 |
| 11 | + spring.datasource.password = 1 |
| 12 | +--- |
| 13 | +# Source: apollo/templates/portal/secret.yaml |
| 14 | +kind: Secret |
| 15 | +apiVersion: v1 |
| 16 | +metadata: |
| 17 | + name: release-name-apollo-portal |
| 18 | +data: |
| 19 | + application-github.properties: | |
| 20 | + spring.datasource.url = jdbc:mysql://:3306/ApolloPortalDB?characterEncoding=utf8 |
| 21 | + spring.datasource.username = 1 |
| 22 | + spring.datasource.password = 1 |
| 23 | + apollo.portal.envs = dev |
| 24 | + apollo-env.properties: | |
| 25 | + dev = release-name-apollo-configservice:8080 |
| 26 | +--- |
| 27 | +# Source: apollo/templates/configservice/secret.yaml |
| 28 | +kind: ConfigMap |
| 29 | +apiVersion: v1 |
| 30 | +metadata: |
| 31 | + name: release-name-apollo-configservice |
| 32 | +data: |
| 33 | + application-github.properties: | |
| 34 | + spring.datasource.url = jdbc:mysql://:3306/ApolloConfigDB?characterEncoding=utf8 |
| 35 | + spring.datasource.username = 1 |
| 36 | + spring.datasource.password = 1 |
| 37 | + apollo.config-service.url = http://release-name-apollo-configservice.default:8080 |
| 38 | + apollo.admin-service.url = http://release-name-apollo-adminservice.default:8090 |
| 39 | +--- |
| 40 | +# Source: apollo/templates/adminservice/service.yaml |
| 41 | +kind: Service |
| 42 | +apiVersion: v1 |
| 43 | +metadata: |
| 44 | + name: release-name-apollo-adminservice |
| 45 | + labels: |
| 46 | + app.kubernetes.io/version: "2.3.0" |
| 47 | +spec: |
| 48 | + type: ClusterIP |
| 49 | + ports: |
| 50 | + - name: http |
| 51 | + protocol: TCP |
| 52 | + port: 8090 |
| 53 | + targetPort: 8090 |
| 54 | + selector: |
| 55 | + app: release-name-apollo-adminservice |
| 56 | +--- |
| 57 | +# Source: apollo/templates/configservice/service.yaml |
| 58 | +kind: Service |
| 59 | +apiVersion: v1 |
| 60 | +metadata: |
| 61 | + name: release-name-apollo-configservice |
| 62 | + labels: |
| 63 | + app.kubernetes.io/version: "2.3.0" |
| 64 | +spec: |
| 65 | + type: ClusterIP |
| 66 | + ports: |
| 67 | + - name: http |
| 68 | + protocol: TCP |
| 69 | + port: 8080 |
| 70 | + targetPort: 8080 |
| 71 | + selector: |
| 72 | + app: release-name-apollo-configservice |
| 73 | +--- |
| 74 | +# Source: apollo/templates/portal/service.yaml |
| 75 | +kind: Service |
| 76 | +apiVersion: v1 |
| 77 | +metadata: |
| 78 | + name: release-name-apollo-portal |
| 79 | + labels: |
| 80 | + app.kubernetes.io/version: "2.3.0" |
| 81 | +spec: |
| 82 | + type: ClusterIP |
| 83 | + ports: |
| 84 | + - name: http |
| 85 | + protocol: TCP |
| 86 | + port: 8070 |
| 87 | + targetPort: 8070 |
| 88 | + selector: |
| 89 | + app: release-name-apollo-portal |
| 90 | + sessionAffinity: ClientIP |
| 91 | +--- |
| 92 | +# Source: apollo/templates/adminservice/deployment.yaml |
| 93 | +kind: Deployment |
| 94 | +apiVersion: apps/v1 |
| 95 | +metadata: |
| 96 | + name: release-name-apollo-adminservice |
| 97 | + labels: |
| 98 | + app.kubernetes.io/version: "2.3.0" |
| 99 | +spec: |
| 100 | + replicas: 2 |
| 101 | + selector: |
| 102 | + matchLabels: |
| 103 | + app: release-name-apollo-adminservice |
| 104 | + template: |
| 105 | + metadata: |
| 106 | + labels: |
| 107 | + app: release-name-apollo-adminservice |
| 108 | + spec: |
| 109 | + volumes: |
| 110 | + - name: volume-configmap-release-name-apollo-adminservice |
| 111 | + configMap: |
| 112 | + name: release-name-apollo-adminservice |
| 113 | + items: |
| 114 | + - key: application-github.properties |
| 115 | + path: application-github.properties |
| 116 | + defaultMode: 420 |
| 117 | + containers: |
| 118 | + - name: apollo-adminservice |
| 119 | + image: "drycc-addons/apollo-adminservice:2.3" |
| 120 | + imagePullPolicy: IfNotPresent |
| 121 | + ports: |
| 122 | + - name: http |
| 123 | + containerPort: 8090 |
| 124 | + protocol: TCP |
| 125 | + env: |
| 126 | + - name: SPRING_PROFILES_ACTIVE |
| 127 | + value: "github,kubernetes" |
| 128 | + volumeMounts: |
| 129 | + - name: volume-configmap-release-name-apollo-adminservice |
| 130 | + mountPath: /apollo-adminservice/config/application-github.properties |
| 131 | + subPath: application-github.properties |
| 132 | + livenessProbe: |
| 133 | + tcpSocket: |
| 134 | + port: 8090 |
| 135 | + initialDelaySeconds: 100 |
| 136 | + periodSeconds: 10 |
| 137 | + readinessProbe: |
| 138 | + httpGet: |
| 139 | + path: /health |
| 140 | + port: 8090 |
| 141 | + initialDelaySeconds: 30 |
| 142 | + periodSeconds: 5 |
| 143 | + resources: |
| 144 | + {} |
| 145 | +--- |
| 146 | +# Source: apollo/templates/configservice/deployment.yaml |
| 147 | +kind: Deployment |
| 148 | +apiVersion: apps/v1 |
| 149 | +metadata: |
| 150 | + name: release-name-apollo-configservice |
| 151 | + labels: |
| 152 | + app.kubernetes.io/version: "2.3.0" |
| 153 | +spec: |
| 154 | + replicas: 2 |
| 155 | + selector: |
| 156 | + matchLabels: |
| 157 | + app: release-name-apollo-configservice |
| 158 | + template: |
| 159 | + metadata: |
| 160 | + labels: |
| 161 | + app: release-name-apollo-configservice |
| 162 | + spec: |
| 163 | + volumes: |
| 164 | + - name: volume-configmap-release-name-apollo-configservice |
| 165 | + configMap: |
| 166 | + name: release-name-apollo-configservice |
| 167 | + items: |
| 168 | + - key: application-github.properties |
| 169 | + path: application-github.properties |
| 170 | + defaultMode: 420 |
| 171 | + containers: |
| 172 | + - name: apollo-configservice |
| 173 | + image: "drycc-addons/apollo-configservice:2.3" |
| 174 | + imagePullPolicy: IfNotPresent |
| 175 | + ports: |
| 176 | + - name: http |
| 177 | + containerPort: 8080 |
| 178 | + protocol: TCP |
| 179 | + env: |
| 180 | + - name: SPRING_PROFILES_ACTIVE |
| 181 | + value: "github,kubernetes" |
| 182 | + volumeMounts: |
| 183 | + - name: volume-configmap-release-name-apollo-configservice |
| 184 | + mountPath: /apollo-configservice/config/application-github.properties |
| 185 | + subPath: application-github.properties |
| 186 | + livenessProbe: |
| 187 | + tcpSocket: |
| 188 | + port: 8080 |
| 189 | + initialDelaySeconds: 100 |
| 190 | + periodSeconds: 10 |
| 191 | + readinessProbe: |
| 192 | + httpGet: |
| 193 | + path: /health |
| 194 | + port: 8080 |
| 195 | + initialDelaySeconds: 30 |
| 196 | + periodSeconds: 5 |
| 197 | + resources: |
| 198 | + {} |
| 199 | +--- |
| 200 | +# Source: apollo/templates/portal/deployment.yaml |
| 201 | +kind: Deployment |
| 202 | +apiVersion: apps/v1 |
| 203 | +metadata: |
| 204 | + name: release-name-apollo-portal |
| 205 | + labels: |
| 206 | + app.kubernetes.io/version: "2.3.0" |
| 207 | +spec: |
| 208 | + replicas: 1 |
| 209 | + selector: |
| 210 | + matchLabels: |
| 211 | + app: release-name-apollo-portal |
| 212 | + template: |
| 213 | + metadata: |
| 214 | + labels: |
| 215 | + app: release-name-apollo-portal |
| 216 | + spec: |
| 217 | + volumes: |
| 218 | + - name: secret-release-name-apollo-portal |
| 219 | + Secret: |
| 220 | + name: release-name-apollo-portal |
| 221 | + items: |
| 222 | + - key: application-github.properties |
| 223 | + path: application-github.properties |
| 224 | + - key: apollo-env.properties |
| 225 | + path: apollo-env.properties |
| 226 | + defaultMode: 420 |
| 227 | + containers: |
| 228 | + - name: apollo-portal |
| 229 | + image: "drycc-addons/apollo-portal:2.3" |
| 230 | + imagePullPolicy: IfNotPresent |
| 231 | + ports: |
| 232 | + - name: http |
| 233 | + containerPort: 8070 |
| 234 | + protocol: TCP |
| 235 | + env: |
| 236 | + - name: SPRING_PROFILES_ACTIVE |
| 237 | + value: "github,auth" |
| 238 | + volumeMounts: |
| 239 | + - name: secret-release-name-apollo-portal |
| 240 | + mountPath: /apollo-portal/config/application-github.properties |
| 241 | + subPath: application-github.properties |
| 242 | + - name: secret-release-name-apollo-portal |
| 243 | + mountPath: /apollo-portal/config/apollo-env.properties |
| 244 | + subPath: apollo-env.properties |
| 245 | + livenessProbe: |
| 246 | + tcpSocket: |
| 247 | + port: 8070 |
| 248 | + initialDelaySeconds: 100 |
| 249 | + periodSeconds: 10 |
| 250 | + readinessProbe: |
| 251 | + httpGet: |
| 252 | + path: /health |
| 253 | + port: 8070 |
| 254 | + initialDelaySeconds: 30 |
| 255 | + periodSeconds: 5 |
| 256 | + resources: |
| 257 | + {} |
| 258 | +--- |
| 259 | +# Source: apollo/templates/portal/ingress.yaml |
| 260 | +# |
0 commit comments