Skip to content

Commit

Permalink
update mindspore internship expose port
Browse files Browse the repository at this point in the history
  • Loading branch information
githubliuyang777 authored and GeorgeCao-hw committed Mar 27, 2023
1 parent 901fb71 commit b2dd838
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/internship-website/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
cpu: 2000m
memory: 2000Mi
ports:
- containerPort: 8080
- containerPort: 80
name: http
protocol: TCP
6 changes: 6 additions & 0 deletions applications/internship-website/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ resources:
- secret.yaml
- ingress.yaml
namespace: internship
commonAnnotations:
kubernetes.ops.cluster: mindspore-cn4-x86
kubernetes.ops.email: 15622356989@163.com
kubernetes.ops.os.base: openeuler
kubernetes.ops.owner: gongzhuangbang
kubernetes.ops.region: beijing
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
Expand Down
2 changes: 1 addition & 1 deletion applications/internship-website/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
ports:
- name: httpport
port: 80
targetPort: 8080
targetPort: 80
selector:
app: internship-website
type: ClusterIP

0 comments on commit b2dd838

Please sign in to comment.