Created
June 27, 2018 07:53
-
-
Save gokusenz/028f31a1923ba88b7de78841e260b182 to your computer and use it in GitHub Desktop.
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
| # Kubernetes API version | |
| apiVersion: v1 | |
| # Type of "request" | |
| kind: Pod | |
| # Metadata of the "object" | |
| metadata: | |
| # Name of the "object" | |
| name: phpmyadmin | |
| namespace: default | |
| # Labels of the "object" | |
| labels: | |
| # A lable named "name" with value "phpmyadmin" | |
| name: phpmyadmin | |
| # spec ~= Specificationsof the "object" | |
| spec: | |
| # List of Container definitions | |
| containers: | |
| # The "name"/"suffix" of the container name | |
| - name: phpmyadmin | |
| # What Docker image to use | |
| image: phpmyadmin/phpmyadmin | |
| env: | |
| - name: PMA_HOST | |
| value: wordpress-mysql.default | |
| # List of container ports reachable from within the cluster | |
| ports: | |
| - containerPort: 80 | |
| name: phpmyadmin | |
| --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment