summaryrefslogtreecommitdiff
path: root/k8s/pod
AgeCommit message (Collapse)AuthorFilesLines
2015-01-05Start and stop scripts are outdated after Kubernetes updateRyan Hallisey15-4/+34
Kubernetes no longer uses 'kubecfg', but rather 'kubectl'. Therefore, the way that pods and services are being created needs to be changed. In order to create a pod, the parameter 'kind' needs to be set to 'pod' in the yaml file and the api version specified. The stop script now reads from k8s/{pod,service,replication}/ in order to stop all the started pods, services, and replication controllers. Change-Id: Ibd39fa402e9df883df83272c3aefbb69009dfbd2
2014-12-01Merge "Adds Neutron Networking Support"Jenkins3-8/+43
2014-11-25Adds Neutron Networking SupportDaneyon Hansen3-8/+43
Implements: blueprint kube-neutron-container Previously, only the neutron-server service was functional. This patch adds support the the rest of the neutron services need by Nova instances to function. The linux-bridge agent is used instead of the OVS agent to realize network abstractions. This is because the ovs-agent package will install the kernel module version of OVS instead of the userspace version. Additionally, the OVS userspace code is still very experimental and reduces performance. Requires: https://github.com/larsks/heat-kubernetes/pull/8 Change-Id: I5ef34ddeb48d4954934571a928cc82ae7f3a0f20
2014-11-24Horizon container implementationRyan Hallisey1-0/+13
Horizon requires that Nova, Neutron(Nova Network), Glance, and Keystone are running. Therefore, the container needs to check for the availablity of each service on startup. The config file is not a .ini file, but rather a python file so it requires using sed instead of crudini. Change-Id: I5ed14514881fe9aef688ca08bcb94881ef5b25cb
2014-11-21Merge "Adds support for Functional Nova-Network"Jenkins1-30/+32
2014-11-21Merge "Implement zaqar container"Jenkins1-0/+19
2014-11-19Implement zaqar containerJeff Peeler1-0/+19
The current implementation has been configured to use sqlite instead of mongodb, since that container service is not yet available. Also, there are no Icehouse RPMs available, so the Juno RPMs are fetched and manually installed. Implements: blueprint kube-zaqar-container Change-Id: Ie875ab43ad3db92ae2712492ee151fbad0fec3cc
2014-11-17Adds support for Functional Nova-NetworkDaneyon Hansen1-30/+32
Previously, the nova-network service was not fully functional. This patch adds multi-interface support to the nova-network container. The eth0 configuration is moved to a bridge (br100 per nova defaults), and configures eth0 and eth1 as bridged interfaces. eth0 is used for the nova-flat network and eth1 for foating-ip's. This model is identical to typical bare-metal nova-network deployments. The patch depends on the following patch to kube-heat template that provides multiple interfaces per minion: https://github.com/larsks/heat-kubernetes/pull/8 Rebased. Fixed merge conflict with k8s/pod/nova-compute-pod.yaml Change-Id: Ieb59f397981a226555ce55ca621ef578b987e3c6
2014-11-14Add support for mongodb containerPradeep Kilambi1-0/+19
Implements: blueprint kube-mongodb-container Change-Id: If76f6c0be90c3025933795d262304a10bf1a880d
2014-11-12Merge "Add Ceilometer service support"Jenkins2-0/+64
2014-11-12Add Ceilometer service supportPradeep Kilambi2-0/+64
Implements: blueprint kube-ceilometer-container Change-Id: Ic9be6f2fb57641aa77f7f3a31481b166adad3f36
2014-11-07Containerizing barbican serviceVenkat Sundaram1-0/+22
Adding Dockerfile, pod and service. Please note that this uses the Juno version of Barbican from tar ball and uses uwsgi to run the service. Addressed review comments and added admin service as well. Fixing Maintainer email and yum clean up Change-Id: If58c5eec00131582024045f8d213e48f9f466f4d
2014-10-21Merge "Implement containers for heat-engine and heat-api"Jenkins1-10/+10
2014-10-20Implement containers for heat-engine and heat-apiJeff Peeler1-10/+10
Loosely followed this document for setting up Heat: http://docs.openstack.org/icehouse/install-guide/install/yum/content/heat-install.html Some gotchas: - crux doesn't require escaping parenthesis for endpoint creation like keystone client - heat icehouse packages are configured for qpid, so kombu had to be specified specifically This firewall reference was handy for port information: http://docs.openstack.org/trunk/config-reference/content/firewalls-default-ports.html Implements: blueprint kube-heat-container Change-Id: Ie4291a6c4c2b85a23a71fc0a003d9160bf0a32b8
2014-10-17Fixes k8s neutron pod image source and formattingDaneyon Hansen1-18/+18
Previously, the k8s neutron pod was pulling the image from danehans instead of kollaglue. Additionally, the formatting was incorrect causing kube not to pull the image at all. Change-Id: I6f787a432ffb9cae404f915ac5228ddcb88e877c
2014-10-17Merge "Adds Neutron Server Support"Jenkins1-0/+30
2014-10-17remove glance-pod.jsonLars Kellogg-Stedman1-68/+0
This was replaced by glance-pod.yaml. Change-Id: I9249ae2721e375096fc42e1e8462a024c314118e
2014-10-16Run nova-api as privileged so it can muck with iptablesSteven Dake1-0/+2
Not sure if mucking with iptables is safe, but appears required. Change-Id: I766b0e61e247c47b4449c1ed2c204ddb8919a87d
2014-10-16Adds Neutron Server SupportDaneyon Hansen1-0/+30
Previously Kolla did not support Neutron. This patch provides initial Neutron support by implementing neutron-server functionality. It also creates a neutron-base image that provides common config and packages for all Neutron-based services. Partially Implements: Blueprint Kubernetes Neutron Container Change-Id: I2399a1331992fae0f387f01e5b5c1c1d34f0637d
2014-10-16fix nova-controller podLars Kellogg-Stedman1-13/+6
remove nova-controller image, which is not meant to be started directly. add required NEUTRON_SHARED_SECRET environment variable. Change-Id: Id671c5473db8e6e222b16ccdfd9eaedc872c60fa
2014-10-14Update nova-controller's container portsRyan Hallisey1-7/+3
The previous values were just stand in values. The new ports support nova-api, ec2 api, and metadata api. Change-Id: I330575d9b53b69bcacc61061b271252e61e64d4b
2014-10-13add kubernetes volumes to glance podLars Kellogg-Stedman2-26/+43
Use kubernetes volumes for data storage rather than placing data directly on the container filesystem. That provides a starting point for thinking about persistent data -- one could replace the emptyDir source with an explicit path via hostDir, and then you would have storage that would persist over a container delete/re-create. Change-Id: Ifade1cb2ba546e5e0207c3d8c84965dc2195716b
2014-10-13keystone pod needs KEYSTONE_DB_PASSWORDLars Kellogg-Stedman1-0/+2
if we want to be able to run multiple keystone container instances, the password cannot be generated as part of the container boot process; it must be passed it as part of the pod template. Change-Id: Idd1b50b6bdb3788eec316bf22fb954f5ecbaa4be
2014-10-13glance images need keystone passwordLars Kellogg-Stedman1-0/+4
glance keystone password cannot be generated during container boot because we need the same value in both the -api and -registry containers. Change-Id: I4099ca19bd7433ff2a75ffba3a1597eff0be2ce4
2014-10-13convert all configs to yamlLars Kellogg-Stedman15-389/+237
Change-Id: I7edbd3a59007d9e2f7f5ab5e4c020eeb58d03dd3
2014-10-13correct various issues with glance images and configsLars Kellogg-Stedman1-56/+64
- update keystone endpoints/user on boot (to avoid problems caused by, e.g., a stale password or invalid endpoint urls) - require GLANCE_DB_PASSWORD and GLANCE_KEYSTONE_PASSWORD in the environment, since we start multiple containers Change-Id: I31214b81280ed34409f92e79003c1116d5737d2e
2014-10-08Modify rabbitmq pod to point to right imageSteven Dake1-1/+1
The image location for rabbitmq was incorrectly pointing at Lars private repository. Change it to point to the global kollaglue repo. Change-Id: Ib4fd84db9410fa7057730ff74be2acc0babfa438
2014-10-07Reorganize k8s structureSteven Dake8-0/+449
All services go to TLD/k8s/service All pods go to TLD/k8s/pod Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379