Last active
March 16, 2020 10:22
-
-
Save daohoangson/9ccac07c1e142d82d97cd355b12cdb9e to your computer and use it in GitHub Desktop.
This file contains 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: phpinfo | |
namespace: phpinfo | |
spec: | |
selector: | |
matchLabels: | |
app: phpinfo | |
template: | |
metadata: | |
labels: | |
app: phpinfo | |
spec: | |
containers: | |
- name: php | |
image: daohoangson/phpinfo:7.4.3 | |
ports: | |
- containerPort: 80 |
This file contains 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: v1 | |
kind: Service | |
metadata: | |
name: phpinfo | |
namespace: phpinfo | |
spec: | |
ports: | |
- port: 80 | |
targetPort: 80 | |
selector: | |
app: phpinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment