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

修改yaml文件,使其可以直接应用于hlg测试环境中 #341

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
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
17 changes: 10 additions & 7 deletions docker-k8s/k8s_config/sirius-rc-hlg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ spec:
spec:
containers:
- name: sirius1
image: docker.baifendian.com/sjx/sirius:25
image: docker.baifendian.com/lupan/sirius_lugu:0.4.6.2_noldap
imagePullPolicy: Always
ports:
- containerPort: 10086
env:
Expand All @@ -25,13 +26,13 @@ spec:
- name: DATABASES_DEFAULT_NAME
value: aries
- name: DATABASES_DEFAULT_HOST
value: "172.24.100.40"
value: "172.24.3.64"
- name: DATABASES_DEFAULT_PORT
value: "3306"
- name: DATABASES_DEFAULT_USER
value: sirius
value: root
- name: DATABASES_DEFAULT_PASSWORD
value: sirius
value: baifendian
- name: DATABASES_BDMS_ENGINE
value: "django.db.backends.mysql"
- name: DATABASES_BDMS_NAME
Expand Down Expand Up @@ -100,6 +101,10 @@ spec:
value: "2"
- name: WEBHDFS_RETRY_DELAY
value: "3"
- name: CLIENTHDFS_HADOOP_HOME
value: "/opt/hadoop"
- name: CLIENTHDFS_NAMENODE_PATH
value: "192.168.44.11:8020"
- name: CODIS_REST_URL
value: "http://192.168.49.127:8888"
- name: CODIS_OPENTSDB_URL
Expand Down Expand Up @@ -194,13 +199,11 @@ spec:
- mountPath: /opt/Sirius/download
name: siriusdownload
imagePullSecrets:
- name: docker-registry-sys
- name: bfd-docker-registry
volumes:
- emptyDir: {}
name: siriuslog
- emptyDir: {}
name: siriusdownload
imagePullSecrets:
- name: docker-registry-sys
#nodeSelector:
# kubernetes.io/hostname: 172.24.2.208
15 changes: 15 additions & 0 deletions docker-k8s/k8s_config/sirius-svc-hlg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
kind: Service
apiVersion: v1
metadata:
name: sirius
spec:
selector:
name: sirius1
ports:
- name: http
protocol: TCP
port: 8888
targetPort: 10086
externalIPs:
- 192.168.48.21
- 192.168.48.22