Docker
53798

kubernetes安装17.1报错已解决 悬赏5积分

提问者devops-iss 答案数1 阅读数634 发表时间2022-06-27 17:01:47
* Restarting periodic command scheduler cron
2022/6/27 16:58:54 * Stopping periodic command scheduler cron
2022/6/27 16:58:54 ...done.
2022/6/27 16:58:54 * Starting periodic command scheduler cron
2022/6/27 16:58:54 ...done.
2022/6/27 16:58:54 * Restarting Apache httpd web server apache2
2022/6/27 16:58:55 ...done.
2022/6/27 16:58:55 * Stopping MariaDB database server mysqld
2022/6/27 16:58:55 ...done.
2022/6/27 16:58:55 * Starting MariaDB database server mysqld
2022/6/27 16:59:25 ...fail!

禅道版本:16.5

安装包类型:源码包

操作系统:CentOS

客户端浏览器:

设置备注
内容
答案列表
🚢
2022-06-27 17:35:07

这个应该在反馈中回复过咱们,请不要在多个位置提问。

可以截图看下咱们yaml文件中的配置内容,

或者添加下页面上方QQ,邀请进群后截图咨询下咱们的问题呢。

🌇
2023/01/03
你好,请问一下,这个问题在哪里可以找到解决方法?yaml文件配置内容如下

----------------------------------------------------

---
# Source: zentao/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: zentao
labels:
helm.sh/chart: zentao-0.1.0
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
---
# Source: zentao/templates/pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: zentaopvc
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "10Gi"
storageClassName: cbs
---
# Source: zentao/templates/pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: zentaosqlpvc
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "10Gi"
storageClassName: cbs
---
# Source: zentao/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: zentao
labels:
helm.sh/chart: zentao-0.1.0
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
release: "zentao"
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
release: "zentao"
---
# Source: zentao/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: zentao
labels:
helm.sh/chart: zentao-0.1.0
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
chart: "zentao-0.1.0"
release: "zentao"
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app: "zentao"
release: "zentao"
template:
metadata:
labels:
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app: "zentao"
chart: "zentao-0.1.0"
release: "zentao"
spec:
serviceAccountName: zentao
securityContext:
{}
containers:
- name: zentao
securityContext:
{}
image: easysoft/zentao:17.8
imagePullPolicy: IfNotPresent
env:
- name: MYSQL_ROOT_PASSWORD
value: '123456'
ports:
- name: http
containerPort: 80
protocol: TCP
- name: mysql
containerPort: 3306
volumeMounts:
- name: zentao-data
mountPath: /www/zentaopms
- name: zentao-mysql
mountPath: /var/lib/mysql

# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
resources:
{}
volumes:
- name: zentao-data
persistentVolumeClaim:
claimName: zentaopvc
- name: zentao-mysql
persistentVolumeClaim:
claimName: zentaosqlpvc
---
# Source: zentao/templates/pv.yaml
#
#
# ---

# apiVersion: v1
# kind: PersistentVolume
# metadata:
# annotations:
# pv.kubernetes.io/provisioned-by: com.tencent.cloud.csi.cbs
# finalizers:
# - kubernetes.io/pv-protection
# - external-attacher/com-tencent-cloud-csi-cbs
# name: pvc-zentaopvc
# namespace: zentao
# spec:
# accessModes:
# - ReadWriteOnce
# capacity:
# storage: "10Gi"
# claimRef:
# apiVersion: v1
# kind: PersistentVolumeClaim
# name: zentaopvc
# csi:
# driver: com.tencent.cloud.csi.cbs
# fsType: ext4
# volumeAttributes:
# storage.kubernetes.io/csiProvisionerIdentity: 1661912686434-8081-com.tencent.cloud.csi.cbs
# type: cbs
# volumeHandle: disk-nelizs4o
# nodeAffinity:
# required:
# nodeSelectorTerms:
# - matchExpressions:
# - key: topology.com.tencent.cloud.csi.cbs/zone
# operator: In
# values:
# - eu-frankfurt-1
# persistentVolumeReclaimPolicy: Delete
# storageClassName: cbs
# volumeMode: Filesystem
#
#
#
# ---

# apiVersion: v1
# kind: PersistentVolume
# metadata:
# annotations:
# pv.kubernetes.io/provisioned-by: com.tencent.cloud.csi.cbs
# finalizers:
# - kubernetes.io/pv-protection
# - external-attacher/com-tencent-cloud-csi-cbs
# name: pvc-zentaosqlpvc
# namespace: zentao
# spec:
# accessModes:
# - ReadWriteOnce
# capacity:
# storage: "10Gi"
# claimRef:
# apiVersion: v1
# kind: PersistentVolumeClaim
# name: zentaosqlpvc
# csi:
# driver: com.tencent.cloud.csi.cbs
# fsType: ext4
# volumeAttributes:
# storage.kubernetes.io/csiProvisionerIdentity: 1661912686434-8081-com.tencent.cloud.csi.cbs
# type: cbs
# volumeHandle: disk-nelizs4o
# nodeAffinity:
# required:
# nodeSelectorTerms:
# - matchExpressions:
# - key: topology.com.tencent.cloud.csi.cbs/zone
# operator: In
# values:
# - eu-frankfurt-1
# persistentVolumeReclaimPolicy: Delete
# storageClassName: cbs
# volumeMode: Filesystem
#
#
---
# Source: zentao/templates/virtualservices.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: zentao-vs-app
spec:
hosts:
- "chandao.kingwoapp.com"
gateways:
- "istio-system/api-gateway"
http:
- route:
- destination:
host: zentao
port:
number: 80
match:
- uri:
prefix: "/"
---
# Source: zentao/templates/tests/test-connection.yaml
apiVersion: v1
kind: Pod
metadata:
name: "zentao-test-connection"
labels:
helm.sh/chart: zentao-0.1.0
app.kubernetes.io/name: zentao
app.kubernetes.io/instance: zentao
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['zentao:80']
restartPolicy: Never


🏰
2023/02/11
我也遇到了相同的问题,所以请问怎么解决?
联系我们
联系人
刘金莲/高级客户经理
电话(微信)
17685742391
QQ号码
3784249187
联系邮箱
liujinlian@chandao.com
返回顶部
刘金莲
高级客户经理
17685742391
3784249187
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。