mirror of
https://github.com/bitnami/containers.git
synced 2026-02-28 15:37:26 +08:00
Delete kubernetes.yml file
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[](https://circleci.com/gh/bitnami/bitnami-docker-wordpress/tree/master)
|
||||
[](http://slack.oss.bitnami.com)
|
||||
[](https://raw.githubusercontent.com/bitnami/bitnami-docker-wordpress/master/kubernetes.yml)
|
||||
|
||||
# What is WordPress?
|
||||
|
||||
@@ -17,16 +16,6 @@ $ curl -LO https://raw.githubusercontent.com/bitnami/bitnami-docker-wordpress/ma
|
||||
$ docker-compose up
|
||||
```
|
||||
|
||||
## Kubernetes
|
||||
|
||||
> **WARNING:** This is a beta configuration, currently unsupported.
|
||||
|
||||
Get the raw URL pointing to the `kubernetes.yml` manifest and use `kubectl` to create the resources on your Kubernetes cluster like so:
|
||||
|
||||
```bash
|
||||
$ kubectl create -f https://raw.githubusercontent.com/bitnami/bitnami-docker-wordpress/master/kubernetes.yml
|
||||
```
|
||||
|
||||
# Why use Bitnami Images?
|
||||
|
||||
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
|
||||
|
||||
@@ -1,189 +0,0 @@
|
||||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: mariadb
|
||||
name: mariadb
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: headless
|
||||
port: 55555
|
||||
targetPort: 0
|
||||
selector:
|
||||
io.kompose.service: mariadb
|
||||
status:
|
||||
loadBalancer: {}
|
||||
- apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress
|
||||
name: wordpress
|
||||
spec:
|
||||
ports:
|
||||
- name: "80"
|
||||
port: 80
|
||||
targetPort: 80
|
||||
- name: "443"
|
||||
port: 443
|
||||
targetPort: 443
|
||||
selector:
|
||||
io.kompose.service: wordpress
|
||||
type: NodePort
|
||||
status:
|
||||
loadBalancer: {}
|
||||
- apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: mariadb
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: mariadb
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: MARIADB_USER
|
||||
value: bn_wordpress
|
||||
- name: MARIADB_DATABASE
|
||||
value: bitnami_wordpress
|
||||
- name: ALLOW_EMPTY_PASSWORD
|
||||
value: "yes"
|
||||
image: bitnami/mariadb:latest
|
||||
name: mariadb
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /bitnami/mariadb
|
||||
name: wordpress-mariadb-data
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: wordpress-mariadb-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wordpress-mariadb-data
|
||||
status: {}
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress-mariadb-data
|
||||
name: wordpress-mariadb-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
||||
- apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.service.type: nodeport
|
||||
creationTimestamp: null
|
||||
name: wordpress
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: MARIADB_HOST
|
||||
value: mariadb
|
||||
- name: MARIADB_PORT_NUMBER
|
||||
value: "3306"
|
||||
- name: WORDPRESS_DATABASE_USER
|
||||
value: bn_wordpress
|
||||
- name: WORDPRESS_DATABASE_NAME
|
||||
value: bitnami_wordpress
|
||||
- name: ALLOW_EMPTY_PASSWORD
|
||||
value: "yes"
|
||||
image: bitnami/wordpress:latest
|
||||
name: wordpress
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 443
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /bitnami/wordpress
|
||||
name: wordpress-wordpress-data
|
||||
- mountPath: /bitnami/apache
|
||||
name: wordpress-apache-data
|
||||
- mountPath: /bitnami/php
|
||||
name: wordpress-php-data
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: wordpress-wordpress-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wordpress-wordpress-data
|
||||
- name: wordpress-apache-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wordpress-apache-data
|
||||
- name: wordpress-php-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wordpress-php-data
|
||||
status: {}
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress-wordpress-data
|
||||
name: wordpress-wordpress-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress-apache-data
|
||||
name: wordpress-apache-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: wordpress-php-data
|
||||
name: wordpress-php-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
status: {}
|
||||
kind: List
|
||||
metadata: {}
|
||||
|
||||
Reference in New Issue
Block a user