Last active
December 8, 2023 05:06
-
-
Save johnroyer/866dc919076c2a9b3e24ee5c1746c328 to your computer and use it in GitHub Desktop.
k8s deployment 格式
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
- name: phpfpm | |
image: php:8.1-alpine | |
imagePullPolicy: IfNotPresent | |
ports: | |
- containerPort: 9000 | |
lifecycle: | |
postStart: | |
exec: | |
command: | |
- "/bin/sh" | |
- "-c" | |
- "cp -r /src/* /dest/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment