Sign inSign up

apmariano/sample-war

By apmariano

•Updated over 6 years ago

Image
0

93

apmariano/sample-war repository overview

YAML file for Service and Pod:

apiVersion: v1
kind: Service
metadata:
  name: hello-world-service
spec:
  selector: 
    app: hello-world
  type: NodePort  
  ports:
    - port: 8000
      targetPort: 8080
      nodePort: 31234
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello-world-deployment
  labels:
    app: hello-world-deployment
spec:
  selector:
    matchLabels:
      app: hello-world
  template:
    metadata:
      name: hello-world
      labels:
        app: hello-world
    spec:
      containers:
      - name: hello-world-container
        image: apmariano/sample-war:v0.1
        terminationMessagePolicy: "FallbackToLogsOnError"

Tag summary

Content type

Image

Digest

Size

219.5 MB

Last updated

over 6 years ago

docker pull apmariano/sample-war:v0.2