I get the following error when trying to use the YAML file from my GitRepo to deploy to kube cluster.

Here is the content of my .yaml file:
apiVersion: v1
kind: Service
metadata:
name: ts-service
spec:
type: NodePort
selector:
app: ts
ports:
- protocol: TCP
port: 8080
nodePort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ts-deployment
labels:
app: ts
spec:
replicas: 2
selector:
matchLabels:
app: ts
template:
metadata:
labels:
app: ts
spec:
containers:
- name: ts
image: $DOCKER_IMAGE_NAME:$BUILD_NUMBER
ports: …Run Code Online (Sandbox Code Playgroud) 我已在 RedHat OpenShift 上部署了 WebSphere Classic,但无法获取管理控制台。我可以看到服务器正在 Pod 内运行。附上我用过的yaml文件和生成的pod日志。请帮忙。谢谢!
Pod 和服务的 YAML 文件 -
apiVersion: v1
kind: Pod
metadata:
name: was-traditional
labels:
app: websphere
spec:
containers:
- name: was-container
image: ibmcom/websphere-traditional:8.5.5.17
------------------------------------
apiVersion : v1
kind : Service
metadata :
name : was-service
spec :
selector :
app : websphere
type : NodePort
ports :
- protocol : TCP
port : 9043
targetPort : 9043
nodePort : 31085
Run Code Online (Sandbox Code Playgroud)
WAS Pod 日志 -
{"type":"was_message","host":"was-traditional","ibm_cellName":"DefaultCell01","ibm_nodeName":"DefaultNode01","ibm_serverName":"server1","ibm_sequence":"1611228360189_0000000000113","message":"SRVE0255E: A WebGroup\/Virtual Host to handle \/ibm\/console\/ has not …Run Code Online (Sandbox Code Playgroud)