Created
May 2, 2020 07:01
-
-
Save vamsijakkula/b7b561ebcf1a9ce37566bd9f1957065a to your computer and use it in GitHub Desktop.
php-apache.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: php-apache | |
| spec: | |
| selector: | |
| matchLabels: | |
| run: php-apache | |
| replicas: 1 | |
| template: | |
| metadata: | |
| labels: | |
| run: php-apache | |
| spec: | |
| containers: | |
| - name: php-apache | |
| image: vamsijakkula/php-hpa | |
| ports: | |
| - containerPort: 80 | |
| resources: | |
| limits: | |
| cpu: 500m | |
| memory: 1Gi | |
| requests: | |
| cpu: 200m | |
| memory: 0.5Gi | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: php-apache | |
| labels: | |
| run: php-apache | |
| spec: | |
| ports: | |
| - port: 80 | |
| selector: | |
| run: php-apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment