Keystone Service and Pod
Template for the keystone service and pod. Running the pod will give you an active Keystone service. Test with: kubectl create -f kubernetes/keystone/ Change-Id: Ib2d95f04d12acb19b2227ec1ec50d78ba0d7fdde Partially-implements: blueprint openstack-services
This commit is contained in:
parent
2100868fab
commit
27f40b1f4a
20
kubernetes/keystone/keystone-pod.yaml
Normal file
20
kubernetes/keystone/keystone-pod.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
spec:
|
||||
hostNetwork: True
|
||||
containers:
|
||||
#TODO: Use a jinja2 template for image
|
||||
- image: kollaglue/centos-binary-keystone:2.0.0
|
||||
name: keystone
|
||||
volumeMounts:
|
||||
- mountPath: "/var/lib/kolla/config_files"
|
||||
name: keystone-config
|
||||
env:
|
||||
- name: KOLLA_CONFIG_STRATEGY
|
||||
value: COPY_ALWAYS
|
||||
volumes:
|
||||
- name: keystone-config
|
||||
hostPath:
|
||||
path: "/etc/kolla/keystone"
|
||||
metadata:
|
||||
name: keystone
|
20
kubernetes/keystone/keystone-services.yaml
Normal file
20
kubernetes/keystone/keystone-services.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
spec:
|
||||
ports:
|
||||
- port: 35357
|
||||
selector:
|
||||
name: keystone-admin
|
||||
metadata:
|
||||
name: keystone-admin
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
spec:
|
||||
ports:
|
||||
- port: 5000
|
||||
selector:
|
||||
name: keystone-public
|
||||
metadata:
|
||||
name: keystone-public
|
Loading…
Reference in New Issue
Block a user