kubernetes-yarn

module
v0.0.0-...-3dbbeee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2015 License: Apache-2.0

README

Kubernetes-YARN

A version of Kubernetes using Apache Hadoop YARN as the scheduler. Integrating Kubernetes with YARN lets users run Docker containers packaged as pods (using Kubernetes) and YARN applications (using YARN), while ensuring common resource management across these (PaaS and data) workloads.

Kubernetes-YARN is currently in the protoype/alpha phase

This integration is under development. Please expect bugs and significant changes as we work towards making things more stable and adding additional features.

Getting started

Dev Environment

Kubernetes and Kubernetes-YARN are written in Go. Currently, vagrant and ansible based setup mechanims are supported. The instructions below are for creating a vagrant based cluster. For ansible instructions, see here.

Please ensure you have boot2docker, Go (at least 1.3), Vagrant (at least 1.6), VirtualBox (at least 4.3.x) and git installed. Run boot2docker to bring up a VM with a running docker daemon (this is used for building release binaries for Kubernetes).

$ $(boot2docker shellinit) #sets up docker env vars
$ echo $GOPATH
/home/user/goproj
$ mkdir -p $GOPATH/src/github.com/hortonworks/
$ cd $GOPATH/src/github.com/hortonworks/
$ git clone git@github.com:hortonworks/kubernetes-yarn.git
$ cd kubernetes-yarn
$ build/release.sh #builds kubernetes release binaries 
$ hack/build-go.sh #builds kubernetes client binaries
$ cluster/kube-up.sh #brings up kubernetes cluster

Following these steps will bring up a multi-VM cluster (1 master and 3 minions, by default) running Kubernetes and YARN. Please note that, depending on your local hardware and available bandwidth, bringing the cluster up could take a while to complete.

YARN Dashboard

By default, the kubernetes master is assigned the IP 10.245.1.2. The YARN resource manager runs on the name host. Once the vagrant cluster is running, the YARN dashboard accessible at http://10.245.1.2:8088/

HDFS Dashboard

The HDFS dashboard is accessible at http://10.245.1.2:50070/

Interacting with the Kubernetes-YARN cluster

Creating pods/running Docker containters

For instructions on creating pods, running containers and other interactions with the cluster, please see Kubernetes' vagrant instructions here

Running a test map-reduce job

In order to run a test map-reduce job, log into the cluster (ensure that you are in the kubernetes-yarn directory) and run the included test script.

$ vagrant ssh master
[vagrant@kubernetes-master ~]$ cd hadoop/install/hadoop-2.6.0-SNAPSHOT/
[vagrant@kubernetes-master hadoop-2.6.0-SNAPSHOT]$ sudo su #you need to be root to run this test script
[root@kubernetes-master hadoop-2.6.0-SNAPSHOT]# ./test-pi-yarn.sh

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/gcfg
Package gcfg reads "INI-style" text-based configuration files with "name=value" pairs grouped into sections (gcfg files).
Package gcfg reads "INI-style" text-based configuration files with "name=value" pairs grouped into sections (gcfg files).
_workspace/src/code.google.com/p/gcfg/scanner
Package scanner implements a scanner for gcfg configuration text.
Package scanner implements a scanner for gcfg configuration text.
_workspace/src/code.google.com/p/gcfg/token
Package token defines constants representing the lexical tokens of the gcfg configuration syntax and basic operations on tokens (printing, predicates).
Package token defines constants representing the lexical tokens of the gcfg configuration syntax and basic operations on tokens (printing, predicates).
_workspace/src/code.google.com/p/gcfg/types
Package types defines helpers for type conversions.
Package types defines helpers for type conversions.
_workspace/src/code.google.com/p/go-uuid/uuid
The uuid package generates and inspects UUIDs.
The uuid package generates and inspects UUIDs.
_workspace/src/code.google.com/p/google-api-go-client/compute/v1
Package compute provides access to the Compute Engine API.
Package compute provides access to the Compute Engine API.
_workspace/src/code.google.com/p/google-api-go-client/container/v1beta1
Package container provides access to the Google Container Engine API.
Package container provides access to the Google Container Engine API.
_workspace/src/code.google.com/p/google-api-go-client/googleapi
Package googleapi contains the common code shared by all Google API libraries.
Package googleapi contains the common code shared by all Google API libraries.
_workspace/src/code.google.com/p/google-api-go-client/googleapi/internal/uritemplates
Package uritemplates is a level 4 implementation of RFC 6570 (URI Template, http://tools.ietf.org/html/rfc6570).
Package uritemplates is a level 4 implementation of RFC 6570 (URI Template, http://tools.ietf.org/html/rfc6570).
_workspace/src/code.google.com/p/google-api-go-client/googleapi/transport
Package transport contains HTTP transports used to make authenticated API requests.
Package transport contains HTTP transports used to make authenticated API requests.
_workspace/src/code.google.com/p/goprotobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
_workspace/src/github.com/davecgh/go-spew/spew
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
_workspace/src/github.com/docker/docker/pkg/pools
Package pools provides a collection of pools which provide various data types with buffers.
Package pools provides a collection of pools which provide various data types with buffers.
_workspace/src/github.com/elazarl/go-bindata-assetfs
assetfs allows packages to serve static content embedded with the go-bindata tool with the standard net/http package.
assetfs allows packages to serve static content embedded with the go-bindata tool with the standard net/http package.
_workspace/src/github.com/emicklei/go-restful
Package restful, a lean package for creating REST-style WebServices without magic.
Package restful, a lean package for creating REST-style WebServices without magic.
_workspace/src/github.com/emicklei/go-restful/swagger
Package swagger implements the structures of the Swagger https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md
Package swagger implements the structures of the Swagger https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md
_workspace/src/github.com/fsouza/go-dockerclient
Package docker provides a client for the Docker remote API.
Package docker provides a client for the Docker remote API.
_workspace/src/github.com/fsouza/go-dockerclient/testing
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
_workspace/src/github.com/golang/glog
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
_workspace/src/github.com/golang/protobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
_workspace/src/github.com/google/cadvisor/client
TODO(cAdvisor): Package comment.
TODO(cAdvisor): Package comment.
_workspace/src/github.com/google/gofuzz
Package fuzz is a library for populating go objects with random values.
Package fuzz is a library for populating go objects with random values.
_workspace/src/github.com/imdario/mergo
Package mergo merges same-type structs and maps by setting default values in zero-value fields.
Package mergo merges same-type structs and maps by setting default values in zero-value fields.
_workspace/src/github.com/miekg/dns
Package dns implements a full featured interface to the Domain Name System.
Package dns implements a full featured interface to the Domain Name System.
_workspace/src/github.com/miekg/dns/idn
Package idn implements encoding from and to punycode as speficied by RFC 3492.
Package idn implements encoding from and to punycode as speficied by RFC 3492.
_workspace/src/github.com/mitchellh/goamz/aws
goamz - Go packages to interact with the Amazon Web Services.
goamz - Go packages to interact with the Amazon Web Services.
_workspace/src/github.com/mitchellh/goamz/ec2/ec2test
The ec2test package implements a fake EC2 provider with the capability of inducing errors on any given operation, and retrospectively determining what operations have been carried out.
The ec2test package implements a fake EC2 provider with the capability of inducing errors on any given operation, and retrospectively determining what operations have been carried out.
_workspace/src/github.com/mitchellh/mapstructure
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure.
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure.
_workspace/src/github.com/nu7hatch/gouuid
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122.
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122.
_workspace/src/github.com/rackspace/gophercloud
Package gophercloud provides a multi-vendor interface to OpenStack-compatible clouds.
Package gophercloud provides a multi-vendor interface to OpenStack-compatible clouds.
_workspace/src/github.com/rackspace/gophercloud/openstack/blockstorage/v1/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
_workspace/src/github.com/rackspace/gophercloud/openstack/blockstorage/v1/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/openstack/blockstorage/v1/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/openstack/blockstorage/v1/volumetypes
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service.
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/openstack/common/extensions
Package extensions provides information and interaction with the different extensions available for an OpenStack service.
Package extensions provides information and interaction with the different extensions available for an OpenStack service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service.
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/extensions/diskconfig
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service.
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/extensions/keypairs
Package keypairs provides information and interaction with the Keypairs extension for the OpenStack Compute service.
Package keypairs provides information and interaction with the Keypairs extension for the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/flavors
Package flavors provides information and interaction with the flavor API resource in the OpenStack Compute service.
Package flavors provides information and interaction with the flavor API resource in the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/images
Package images provides information and interaction with the image API resource in the OpenStack Compute service.
Package images provides information and interaction with the image API resource in the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/compute/v2/servers
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v2/tenants
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service.
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v2/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v3/endpoints
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service.
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v3/services
Package services provides information and interaction with the services API resource for the OpenStack Identity service.
Package services provides information and interaction with the services API resource for the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/identity/v3/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service.
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/external
Package external provides information and interaction with the external extension for the OpenStack Networking service.
Package external provides information and interaction with the external extension for the OpenStack Networking service.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/layer3
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service.
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service.
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/provider
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/security
Package security contains functionality to work with security group and security group rules Neutron resources.
Package security contains functionality to work with security group and security group rules Neutron resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/networks
Package networks contains functionality for working with Neutron network resources.
Package networks contains functionality for working with Neutron network resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/ports
Package ports contains functionality for working with Neutron port resources.
Package ports contains functionality for working with Neutron port resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/networking/v2/subnets
Package subnets contains functionality for working with Neutron subnet resources.
Package subnets contains functionality for working with Neutron subnet resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/objectstorage/v1/accounts
Package accounts contains functionality for working with Object Storage account resources.
Package accounts contains functionality for working with Object Storage account resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/objectstorage/v1/containers
Package containers contains functionality for working with Object Storage container resources.
Package containers contains functionality for working with Object Storage container resources.
_workspace/src/github.com/rackspace/gophercloud/openstack/objectstorage/v1/objects
Package objects contains functionality for working with Object Storage object resources.
Package objects contains functionality for working with Object Storage object resources.
_workspace/src/github.com/rackspace/gophercloud/pagination
Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs.
Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs.
_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/snapshots
Package snapshots provides information and interaction with the snapshot API resource for the Rackspace Block Storage service.
Package snapshots provides information and interaction with the snapshot API resource for the Rackspace Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumes
Package volumes provides information and interaction with the volume API resource for the Rackspace Block Storage service.
Package volumes provides information and interaction with the volume API resource for the Rackspace Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumetypes
Package volumetypes provides information and interaction with the volume type API resource for the Rackspace Block Storage service.
Package volumetypes provides information and interaction with the volume type API resource for the Rackspace Block Storage service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/flavors
Package flavors provides information and interaction with the flavor API resource for the Rackspace Cloud Servers service.
Package flavors provides information and interaction with the flavor API resource for the Rackspace Cloud Servers service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/images
Package images provides information and interaction with the image API resource for the Rackspace Cloud Servers service.
Package images provides information and interaction with the image API resource for the Rackspace Cloud Servers service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/keypairs
Package keypairs provides information and interaction with the keypair API resource for the Rackspace Cloud Servers service.
Package keypairs provides information and interaction with the keypair API resource for the Rackspace Cloud Servers service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/networks
Package networks provides information and interaction with the network API resource for the Rackspace Cloud Servers service.
Package networks provides information and interaction with the network API resource for the Rackspace Cloud Servers service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/servers
Package servers provides information and interaction with the server API resource for the Rackspace Cloud Servers service.
Package servers provides information and interaction with the server API resource for the Rackspace Cloud Servers service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/extensions
Package extensions provides information and interaction with the all the extensions available for the Rackspace Identity service.
Package extensions provides information and interaction with the all the extensions available for the Rackspace Identity service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/tenants
Package tenants provides information and interaction with the tenant API resource for the Rackspace Identity service.
Package tenants provides information and interaction with the tenant API resource for the Rackspace Identity service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/tokens
Package tokens provides information and interaction with the token API resource for the Rackspace Identity service.
Package tokens provides information and interaction with the token API resource for the Rackspace Identity service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/accounts
Package accounts provides information and interaction with the account API resource for the Rackspace Cloud Files service.
Package accounts provides information and interaction with the account API resource for the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/bulk
Package bulk provides functionality for working with bulk operations in the Rackspace Cloud Files service.
Package bulk provides functionality for working with bulk operations in the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/cdncontainers
Package cdncontainers provides information and interaction with the CDN Container API resource for the Rackspace Cloud Files service.
Package cdncontainers provides information and interaction with the CDN Container API resource for the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/cdnobjects
Package cdnobjects provides information and interaction with the CDN Object API resource for the Rackspace Cloud Files service.
Package cdnobjects provides information and interaction with the CDN Object API resource for the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/containers
Package containers provides information and interaction with the Container API resource for the Rackspace Cloud Files service.
Package containers provides information and interaction with the Container API resource for the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/objects
Package objects provides information and interaction with the Object API resource for the Rackspace Cloud Files service.
Package objects provides information and interaction with the Object API resource for the Rackspace Cloud Files service.
_workspace/src/github.com/rackspace/gophercloud/testhelper
Package testhelper container methods that are useful for writing unit tests.
Package testhelper container methods that are useful for writing unit tests.
_workspace/src/github.com/skratchdot/open-golang/open
Open a file, directory, or URI using the OS's default application for that object type.
Open a file, directory, or URI using the OS's default application for that object type.
_workspace/src/github.com/spf13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
_workspace/src/github.com/spf13/pflag
pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
_workspace/src/github.com/stretchr/objx
objx - Go package for dealing with maps, slices, JSON and other data.
objx - Go package for dealing with maps, slices, JSON and other data.
_workspace/src/github.com/stretchr/testify/mock
Provides a system by which it is possible to mock your objects and verify calls are happening as expected.
Provides a system by which it is possible to mock your objects and verify calls are happening as expected.
_workspace/src/github.com/vaughan0/go-ini
Package ini provides functions for parsing INI configuration files.
Package ini provides functions for parsing INI configuration files.
_workspace/src/golang.org/x/net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
_workspace/src/golang.org/x/net/html
Package html implements an HTML5-compliant tokenizer and parser.
Package html implements an HTML5-compliant tokenizer and parser.
_workspace/src/golang.org/x/net/html/atom
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
_workspace/src/golang.org/x/net/html/charset
Package charset provides common text encodings for HTML documents.
Package charset provides common text encodings for HTML documents.
_workspace/src/golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
_workspace/src/golang.org/x/oauth2
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
_workspace/src/golang.org/x/oauth2/github
Package github provides constants for using OAuth2 to access Github.
Package github provides constants for using OAuth2 to access Github.
_workspace/src/golang.org/x/oauth2/google
Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
_workspace/src/golang.org/x/oauth2/internal
Package internal contains support packages for oauth2 package.
Package internal contains support packages for oauth2 package.
_workspace/src/golang.org/x/oauth2/jws
Package jws provides encoding and decoding utilities for signed JWS messages.
Package jws provides encoding and decoding utilities for signed JWS messages.
_workspace/src/golang.org/x/oauth2/jwt
Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as "two-legged OAuth 2.0".
Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as "two-legged OAuth 2.0".
_workspace/src/google.golang.org/appengine
Package appengine provides basic functionality for Google App Engine.
Package appengine provides basic functionality for Google App Engine.
_workspace/src/google.golang.org/appengine/channel
Package channel implements the server side of App Engine's Channel API.
Package channel implements the server side of App Engine's Channel API.
_workspace/src/google.golang.org/appengine/datastore
Package datastore provides a client for App Engine's datastore service.
Package datastore provides a client for App Engine's datastore service.
_workspace/src/google.golang.org/appengine/delay
Package delay provides a way to execute code outside the scope of a user request by using the taskqueue API.
Package delay provides a way to execute code outside the scope of a user request by using the taskqueue API.
_workspace/src/google.golang.org/appengine/file
Package file provides helper functions for using Google Cloud Storage.
Package file provides helper functions for using Google Cloud Storage.
_workspace/src/google.golang.org/appengine/image
Package image provides image services.
Package image provides image services.
_workspace/src/google.golang.org/appengine/internal
Package internal provides support for package appengine.
Package internal provides support for package appengine.
_workspace/src/google.golang.org/appengine/internal/aetesting
Package aetesting provides utilities for testing App Engine packages.
Package aetesting provides utilities for testing App Engine packages.
_workspace/src/google.golang.org/appengine/internal/app_identity
Package app_identity is a generated protocol buffer package.
Package app_identity is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/base
Package base is a generated protocol buffer package.
Package base is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/channel
Package channel is a generated protocol buffer package.
Package channel is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/datastore
Package datastore is a generated protocol buffer package.
Package datastore is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/image
Package image is a generated protocol buffer package.
Package image is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/log
Package log is a generated protocol buffer package.
Package log is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/mail
Package mail is a generated protocol buffer package.
Package mail is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/memcache
Package memcache is a generated protocol buffer package.
Package memcache is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/modules
Package modules is a generated protocol buffer package.
Package modules is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/remote_api
Package remote_api is a generated protocol buffer package.
Package remote_api is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/search
Package search is a generated protocol buffer package.
Package search is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/taskqueue
Package taskqueue is a generated protocol buffer package.
Package taskqueue is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/urlfetch
Package urlfetch is a generated protocol buffer package.
Package urlfetch is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/user
Package user is a generated protocol buffer package.
Package user is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/internal/xmpp
Package xmpp is a generated protocol buffer package.
Package xmpp is a generated protocol buffer package.
_workspace/src/google.golang.org/appengine/log
Package log provides the means of querying an application's logs from within an App Engine application.
Package log provides the means of querying an application's logs from within an App Engine application.
_workspace/src/google.golang.org/appengine/mail
Package mail provides the means of sending email from an App Engine application.
Package mail provides the means of sending email from an App Engine application.
_workspace/src/google.golang.org/appengine/memcache
Package memcache provides a client for App Engine's distributed in-memory key-value store for small chunks of arbitrary data.
Package memcache provides a client for App Engine's distributed in-memory key-value store for small chunks of arbitrary data.
_workspace/src/google.golang.org/appengine/module
Package module provides functions for interacting with modules.
Package module provides functions for interacting with modules.
_workspace/src/google.golang.org/appengine/remote_api
Package remote_api implements the /_ah/remote_api endpoint.
Package remote_api implements the /_ah/remote_api endpoint.
_workspace/src/google.golang.org/appengine/search
Package search provides a client for App Engine's search service.
Package search provides a client for App Engine's search service.
_workspace/src/google.golang.org/appengine/taskqueue
Package taskqueue provides a client for App Engine's taskqueue service.
Package taskqueue provides a client for App Engine's taskqueue service.
_workspace/src/google.golang.org/appengine/urlfetch
Package urlfetch provides an http.RoundTripper implementation for fetching URLs via App Engine's urlfetch service.
Package urlfetch provides an http.RoundTripper implementation for fetching URLs via App Engine's urlfetch service.
_workspace/src/google.golang.org/appengine/user
Package user provides a client for App Engine's user authentication service.
Package user provides a client for App Engine's user authentication service.
_workspace/src/google.golang.org/appengine/xmpp
Package xmpp provides the means to send and receive instant messages to and from users of XMPP-compatible services.
Package xmpp provides the means to send and receive instant messages to and from users of XMPP-compatible services.
_workspace/src/google.golang.org/cloud/compute/metadata
Package metadata provides access to Google Compute Engine (GCE) metadata and API service accounts.
Package metadata provides access to Google Compute Engine (GCE) metadata and API service accounts.
_workspace/src/google.golang.org/cloud/internal
Package internal provides support for the cloud packages.
Package internal provides support for the cloud packages.
_workspace/src/google.golang.org/cloud/internal/datastore
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.
_workspace/src/google.golang.org/cloud/internal/testutil
Package testutil contains helper functions for writing tests.
Package testutil contains helper functions for writing tests.
_workspace/src/gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.
_workspace/src/speter.net/go/exp/math/dec/inf
Package inf (type inf.Dec) implements "infinite-precision" decimal arithmetic.
Package inf (type inf.Dec) implements "infinite-precision" decimal arithmetic.
build
cluster
addons/dns/kube2sky
kube2sky is a bridge between Kubernetes and SkyDNS.
kube2sky is a bridge between Kubernetes and SkyDNS.
cmd
e2e
integration
A basic integration test for the service.
A basic integration test for the service.
kube-apiserver
apiserver is the main api server and master for the cluster.
apiserver is the main api server and master for the cluster.
kube-controller-manager
The controller manager is responsible for monitoring replication controllers, and creating corresponding pods to achieve the desired state.
The controller manager is responsible for monitoring replication controllers, and creating corresponding pods to achieve the desired state.
kubelet
The kubelet binary is responsible for maintaining a set of containers on a particular host VM.
The kubelet binary is responsible for maintaining a set of containers on a particular host VM.
kubernetes
A binary that is capable of running a complete, standalone kubernetes cluster.
A binary that is capable of running a complete, standalone kubernetes cluster.
contrib
for-demos/serve_hostname
A small utility to just serve the hostname on TCP and/or UDP.
A small utility to just serve the hostname on TCP and/or UDP.
for-demos/test-webserver
A tiny web server that serves a static file.
A tiny web server that serves a static file.
for-tests/network-tester
A tiny web server for checking networking connectivity.
A tiny web server for checking networking connectivity.
Examples contains sample applications for trying out the concepts in Kubernetes.
Examples contains sample applications for trying out the concepts in Kubernetes.
liveness/image
A simple server that is alive for 10 seconds, then reports unhealthy for the rest of its (hopefully) short existence.
A simple server that is alive for 10 seconds, then reports unhealthy for the rest of its (hopefully) short existence.
e2e.go runs the e2e test suite.
e2e.go runs the e2e test suite.
pkg
api
Package api contains the latest (or "internal") version of the Kubernetes API objects.
Package api contains the latest (or "internal") version of the Kubernetes API objects.
api/errors
Package errors provides detailed error types for api field validation.
Package errors provides detailed error types for api field validation.
api/errors/etcd
Package etcd provides conversion of etcd errors to API errors.
Package etcd provides conversion of etcd errors to API errors.
api/latest
Package latest defines the default output serializations that code should use and imports the required schemas.
Package latest defines the default output serializations that code should use and imports the required schemas.
api/meta
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
api/testapi
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
Package testapi provides a helper for retrieving the KUBE_API_VERSION environment variable.
api/v1beta1
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
api/v1beta2
Package v1beta2 is the v1beta2 version of the API.
Package v1beta2 is the v1beta2 version of the API.
api/v1beta3
Package v1beta3 is the v1beta3 version of the API.
Package v1beta3 is the v1beta3 version of the API.
api/validation
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
apiserver
Package apiserver contains the code that provides a RESTful api service.
Package apiserver contains the code that provides a RESTful api service.
auth/user
Package user contains utilities for dealing with simple user exchange in the auth packages.
Package user contains utilities for dealing with simple user exchange in the auth packages.
capabilities
package capbabilities manages system level capabilities
package capbabilities manages system level capabilities
client
Package client contains the implementation of the client side communication with the Kubernetes master.
Package client contains the implementation of the client side communication with the Kubernetes master.
client/cache
Package cache is a client-side caching mechanism.
Package cache is a client-side caching mechanism.
client/clientcmd
Package clientcmd provides one stop shopping for building a working client from a fixed config, from a .kubeconfig file, from command line flags, or from any merged combination.
Package clientcmd provides one stop shopping for building a working client from a fixed config, from a .kubeconfig file, from command line flags, or from any merged combination.
client/record
Package record has all client logic for recording and reporting events.
Package record has all client logic for recording and reporting events.
clientauth
Package authcfg defines a file format for holding authentication information needed by clients of Kubernetes.
Package authcfg defines a file format for holding authentication information needed by clients of Kubernetes.
cloudprovider
Package cloudprovider supplies interfaces and implementations for cloud service providers.
Package cloudprovider supplies interfaces and implementations for cloud service providers.
cloudprovider/controller
Package controller contains code for syncing cloud instances with minion registry
Package controller contains code for syncing cloud instances with minion registry
cloudprovider/fake
Package fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
Package fake_cloud is a test-double implementation of cloudprovider Interface, TCPLoadBalancer and Instances.
cloudprovider/gce
Package gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
Package gce_cloud is an implementation of Interface, TCPLoadBalancer and Instances for Google Compute Engine.
cloudprovider/vagrant
Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.
constraint
Package constraint has functions for ensuring that collections of containers are allowed to run together on a single host.
Package constraint has functions for ensuring that collections of containers are allowed to run together on a single host.
controller
Package controller contains logic for watching and synchronizing replicationControllers.
Package controller contains logic for watching and synchronizing replicationControllers.
conversion
Package conversion provides go object versioning and encoding/decoding mechanisms.
Package conversion provides go object versioning and encoding/decoding mechanisms.
credentialprovider
Package credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
Package credentialprovider supplies interfaces and implementations for docker registry providers to expose their authentication scheme.
credentialprovider/gcp
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
Package gcp_credentials contains implementations of DockerConfigProvider for Google Cloud Platform.
health
Package health contains utilities for health checking, as well as health status information.
Package health contains utilities for health checking, as well as health status information.
healthz
Package healthz implements basic http server health checking.
Package healthz implements basic http server health checking.
httplog
Package httplog contains a helper object and functions to maintain a log along with an http response.
Package httplog contains a helper object and functions to maintain a log along with an http response.
kubecfg
Package kubecfg is a set of libraries that are used by the kubecfg command line tool.
Package kubecfg is a set of libraries that are used by the kubecfg command line tool.
kubectl
Package kubectl is a set of libraries that are used by the kubectl command line tool.
Package kubectl is a set of libraries that are used by the kubectl command line tool.
kubectl/resource
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
Package resource assists clients in dealing with RESTful objects that match the Kubernetes API conventions.
kubelet
Package kubelet is the package that contains the libraries that drive the Kubelet binary.
Package kubelet is the package that contains the libraries that drive the Kubelet binary.
kubelet/config
Reads the pod configuration from the Kubernetes apiserver.
Reads the pod configuration from the Kubernetes apiserver.
kubelet/envvars
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
kubelet/volume
Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
labels
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
master
Package master contains code for setting up and running a Kubernetes cluster master.
Package master contains code for setting up and running a Kubernetes cluster master.
master/ports
Package ports defines ports used by various pieces of the kubernetes infrastructure.
Package ports defines ports used by various pieces of the kubernetes infrastructure.
proxy
Package proxy implements the layer-3 network proxy.
Package proxy implements the layer-3 network proxy.
proxy/config
Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
Package config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
registry
Package registry implements the storage and system logic for the core of the api server.
Package registry implements the storage and system logic for the core of the api server.
registry/binding
Package binding contains the middle layer logic for bindings.
Package binding contains the middle layer logic for bindings.
registry/controller
Package controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
Package controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
registry/endpoint
Package endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
Package endpoint provides Registry interface and it's RESTStorage implementation for storing Endpoint api objects.
registry/etcd
Package etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects.
Package etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects.
registry/event
Package event provides Registry interface and it's REST implementation for storing Event api objects.
Package event provides Registry interface and it's REST implementation for storing Event api objects.
registry/generic
Package generic provides a generic object store interface and a generic label/field matching type.
Package generic provides a generic object store interface and a generic label/field matching type.
registry/generic/etcd
Package etcd has a generic implementation of a registry that stores things in etcd.
Package etcd has a generic implementation of a registry that stores things in etcd.
registry/minion
Package minion provides Registry interface and implementation for storing Minions.
Package minion provides Registry interface and implementation for storing Minions.
registry/pod
Package pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
Package pod provides Registry interface and it's RESTStorage implementation for storing Pod api objects.
registry/registrytest
Package registrytest provides tests for Registry implementations for storing Minions, Pods, Schedulers and Services.
Package registrytest provides tests for Registry implementations for storing Minions, Pods, Schedulers and Services.
registry/service
Package service provides Registry interface and it's RESTStorage implementation for storing Service api objects.
Package service provides Registry interface and it's RESTStorage implementation for storing Service api objects.
runtime
Package runtime includes helper functions for working with API objects that follow the kubernetes API object conventions, which are: 0.
Package runtime includes helper functions for working with API objects that follow the kubernetes API object conventions, which are: 0.
scheduler
Package scheduler contains a generic Scheduler interface and several implementations.
Package scheduler contains a generic Scheduler interface and several implementations.
service
Package service provides EndpointController implementation to manage and sync service endpoints.
Package service provides EndpointController implementation to manage and sync service endpoints.
standalone
package standalone has utilities for running different Kubernetes binaries in a single binary.
package standalone has utilities for running different Kubernetes binaries in a single binary.
tools
Package tools implements general tools which depend on the api package.
Package tools implements general tools which depend on the api package.
types
Package types implements various generic types used throughout kubernetes.
Package types implements various generic types used throughout kubernetes.
ui
package ui contains static data files compiled to go, and utilities for accessing them.
package ui contains static data files compiled to go, and utilities for accessing them.
util
Package util implements various utility functions used in both testing and implementation of Kubernetes.
Package util implements various utility functions used in both testing and implementation of Kubernetes.
util/config
Package config provides utility objects for decoupling sources of configuration and the actual configuration state.
Package config provides utility objects for decoupling sources of configuration and the actual configuration state.
util/errors
Package errors implements various utility functions and types around errors.
Package errors implements various utility functions and types around errors.
util/exec
Package exec provides an injectable interface and implementations for running commands.
Package exec provides an injectable interface and implementations for running commands.
util/iptables
Package iptables provides an interface and implementations for running iptables commands.
Package iptables provides an interface and implementations for running iptables commands.
util/mount
Package mount defines an interface to mounting filesystems.
Package mount defines an interface to mounting filesystems.
util/wait
Package wait provides tools for polling or listening for changes to a condition.
Package wait provides tools for polling or listening for changes to a condition.
version
Package version supplies version information collected at build time to kubernetes components.
Package version supplies version information collected at build time to kubernetes components.
version/verflag
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
watch
Package watch contains a generic watchable interface, and a fake for testing code that uses the watch interface.
Package watch contains a generic watchable interface, and a fake for testing code that uses the watch interface.
watch/json
Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers
Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers
plugin
pkg/admission/resourcedefaults
Package resourcedefaults contains an example plug-in that cluster operators can use to prevent unlimited CPU and Memory usage for a container.
Package resourcedefaults contains an example plug-in that cluster operators can use to prevent unlimited CPU and Memory usage for a container.
pkg/auth
Package auth contains implementations for interfaces in the pkg/auth package
Package auth contains implementations for interfaces in the pkg/auth package
pkg/auth/authenticator
Package authenticator contains implementations for pkg/auth/authenticator interfaces
Package authenticator contains implementations for pkg/auth/authenticator interfaces
pkg/auth/authenticator/password
Package password contains authenticator.Password implementations
Package password contains authenticator.Password implementations
pkg/auth/authenticator/request/x509
Package x509 provides a request authenticator that validates and extracts user information from client certificates
Package x509 provides a request authenticator that validates and extracts user information from client certificates
pkg/scheduler/algorithmprovider
This package is used to register algorithm provider plugins.
This package is used to register algorithm provider plugins.
pkg/scheduler/algorithmprovider/affinity
This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler.
This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler.
pkg/scheduler/algorithmprovider/defaults
This is the default algorithm provider for the scheduler.
This is the default algorithm provider for the scheduler.
pkg/scheduler/factory
Package factory can set up a scheduler.
Package factory can set up a scheduler.
test
e2e
integration
Package integration provides integration tests for Kubernetes.
Package integration provides integration tests for Kubernetes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL