mirror of
https://github.com/ghndrx/blog-manifest.git
synced 2026-02-10 06:54:59 +00:00
Added configurations for deploying Ghost blog on Kubernetes using MySQL and nginx-proxy. Included resource limits for ghost-blog-deployment and mysql-deployment.yaml, created ingress-service.yaml for nginx-proxy with https and http, and added ghost-blog-service.yaml and mysql-service.yaml for connecting the Ghost blog app to the MySQL server. Also added a namespace 'blog' for better organization of resources.
This commit is contained in:
@@ -7,8 +7,9 @@ spec:
|
||||
app: ghost-blog
|
||||
ports:
|
||||
- name: http
|
||||
port: 2368
|
||||
port: 80
|
||||
targetPort: 2368
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: 2368
|
||||
type: ClusterIP
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mysql
|
||||
name: mysql-service
|
||||
spec:
|
||||
selector:
|
||||
app: mysql
|
||||
ports:
|
||||
- name: mysql
|
||||
port: 3306
|
||||
type: ClusterIP
|
||||
targetPort: 3306
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user