# dify-k8s **Repository Path**: lebronap/dify-k8s ## Basic Information - **Project Name**: dify-k8s - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-23 - **Last Updated**: 2025-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dify-k8s The entire yaml depends on the docker-compose.yaml file. All configuration items are retained, such as uploading files to OSS, switching vector databases, etc. Currently, YAML will do PVC storage. If it is not needed, please handle it yourself. If you use a local database, then you need to have a storageClass. # Currently supported dify versions: V1.2.0 ## usage ### create a kubernetes cluster ![img.png](static/img.png) ### Set a default storage class() ![img.png](static/img_1.png) ![img.png](static/img_2.png) ### create dify cluster ![img.png](static/img_3.png) ### Visit the front-end page ![img.png](static/img_4.png) ## upgrade - Modify the dify-k8s.yaml file - kubectl apply -f dify-k8s.yaml - kubectl rollout restart statefulset/deployment your-pod-name -n dify ## notes - Please modify YAML files according to your own needs, such as changing storageClass to your own - If you need to call your application's external API, simply go to the API call page and set the key. Don't forget to bring the default port 31234 - Almost all configuration items are converted from the official docker-compose.yaml. For example, if you need to modify it to external redistribution, just follow the official instructions.