Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the specification checklist and deployment directory #1270

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/dubbo-admin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ serverCompression:
minResponseSize: 10240

zookeeper:
enabled: false
enabled: true
address: zookeeper://zookeeper:2181

nacos:
enabled: true
enabled: false
address: nacos://nacos:8848
group: DEFAULT_GROUP
namespace: public
Expand Down
Empty file modified docker/0.3.0/test.sh
100755 → 100644
Empty file.
Empty file modified docker/entrypoint.sh
100755 → 100644
Empty file.
138 changes: 138 additions & 0 deletions kubernetes/dubbo-admin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
---
# Source: dubbo-admin/templates/cm.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: dubbo-admin-cm
namespace: default
data:
application.properties: |-
admin.registry.address: zookeeper://zookeeper:2181
admin.config-center: zookeeper://zookeeper:2181
admin.metadata-report.address: zookeeper://zookeeper:2181
admin.root.user.name: root
admin.root.user.password: root
admin.check.tokenTimeoutMilli: 3600000
admin.check.sessionTimeoutMilli: 3600000
admin.check.signSecret:
server.compression.enabled: true
server.compression.mime-types: text/css,text/javascript,application/javascript
server.compression.min-response-size: 10240
dubbo.application.name: dubbo-admin
dubbo.application.logger: slf4j
dubbo.registry.address: ${admin.registry.address}
spring.datasource.url: jdbc:h2:mem:~/dubbo-admin;MODE=MYSQL;
spring.datasource.username: sa
spring.datasource.password:
mybatis-plus.global-config.db-config.id-type: none
---
# Source: dubbo-admin/templates/svc.yaml
apiVersion: v1
kind: Service
metadata:
name: dubbo-admin
namespace: default
spec:
type: ClusterIP
ports:
- name: http
port: 38080
protocol: TCP
targetPort: http
---
# Source: dubbo-admin/templates/svc.yaml
apiVersion: v1
kind: Service
metadata:
name: dubbo-admin-headless
namespace: default
spec:
type: ClusterIP
clusterIP: None
ports:
- name: http
port: 38080
protocol: TCP
targetPort: http
appProtocol:
---
# Source: dubbo-admin/templates/deploy.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: dubbo-admin
namespace: default
spec:
replicas: 1
selector:
matchLabels:

app.kubernetes.io/name: dubbo-admin
helm.sh/chart: dubbo-admin-0.5.0
app.kubernetes.io/instance: dubbo-admin
app.kubernetes.io/managed-by: Helm
template:
metadata:
labels:

app.kubernetes.io/name: dubbo-admin
helm.sh/chart: dubbo-admin-0.5.0
app.kubernetes.io/instance: dubbo-admin
app.kubernetes.io/managed-by: Helm
spec:
imagePullSecrets:
null
nodeSelector:
null
affinity:
null
tolerations:
null
containers:
- name: dubbo-admin
image: "apache/dubbo-admin:0.5.0"
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
volumeMounts:
- mountPath: /config
name: application-properties
readOnly: true
- mountPath: /storage
name: storage
readOnly: true
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 60
timeoutSeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 60
timeoutSeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 60
timeoutSeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
resources:
{}
volumes:
- name: application-properties
configMap:
name: dubbo-admin-cm
- name: storage
54 changes: 0 additions & 54 deletions kubernetes/dubbo-admin/configmap.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions kubernetes/dubbo-admin/deployment.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions kubernetes/dubbo-admin/pv.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions kubernetes/dubbo-admin/pvc.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions kubernetes/dubbo-admin/rbac.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions kubernetes/dubbo-admin/service.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes/dubbo-admin/storageclass.yaml

This file was deleted.

Loading
Loading