Files
containers/bitnami/apache/kubernetes.yml

75 lines
1.5 KiB
YAML

apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
kompose.service.type: nodeport
creationTimestamp: null
labels:
io.kompose.service: apache
name: apache
spec:
ports:
- name: "80"
port: 80
targetPort: 80
- name: "443"
port: 443
targetPort: 443
selector:
io.kompose.service: apache
type: NodePort
status:
loadBalancer: {}
- apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.service.type: nodeport
creationTimestamp: null
name: apache
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: apache
spec:
containers:
- image: bitnami/apache:latest
name: apache
ports:
- containerPort: 80
- containerPort: 443
resources: {}
volumeMounts:
- mountPath: /bitnami/apache
name: apache-apache-data
restartPolicy: Always
volumes:
- name: apache-apache-data
persistentVolumeClaim:
claimName: apache-apache-data
status: {}
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: apache-apache-data
name: apache-apache-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
kind: List
metadata: {}