concept information in category openshift

appears as: information, information, The information
OpenShift in Action

This is an excerpt from Manning's book OpenShift in Action.

Kubernetes employs a master/node architecture. Kubernetes master servers maintain the information about the server cluster, and nodes run the actual application workloads (see figure 1.2).

Listing 4.1. Using oc describe to get information about the app-cli RC
$ oc describe rc $(oc get rc -l app=app-cli -o=jsonpath='{.items[].metadata.name}') Name: app-cli-1 #1 Namespace: image-uploader Selector: app=app-cli,deployment=app-cli-1,deploymentconfig=app-cli #2 Labels: app=app-cli openshift.io/deployment-config.name=app-cli Annotations: openshift.io/deployer-pod.name=app-cli-1-deploy openshift.io/deployment-config.latest-version=1 openshift.io/deployment-config.name=app-cli openshift.io/deployment.phase=Complete openshift.io/deployment.replicas= openshift.io/deployment.status-reason=config change openshift.io/encoded-deployment-config= {"kind":"DeploymentConfig","apiVersion":"v1","metadata": {"name":"app-cli","namespace": "image-uploader","selfLink": "/apis/apps.openshift.io/v1/namespaces/image-up... Replicas: 1 current / 1 desired Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed #3 Pod Template: Labels: app=app-cli deployment=app-cli-1 deploymentconfig=app-cli Annotations: openshift.io/deployment-config.latest-version=1 openshift.io/deployment-config.name=app-cli openshift.io/deployment.name=app-cli-1 openshift.io/generated-by=OpenShiftNewApp Containers: app-cli: Image: docker-registry.default.svc: #4 5000/image-uploader/app-cli@sha256: #4 cef79b2eaf6bb7bf495fb16e9f720d5728299673dfec1d8f16472f1871633ebc #4 Port: 8080/TCP Environment: <none> Mounts: /opt/app-root/src/uploads from volume-mddzb (rw) #5 Volumes: volume-mddzb: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: app-cli ReadOnly: false Events: <none> #1 Replication controller name #2 Labels and selectors for the RC #3 Current running pods, and the desired number #4 Image used to create the pods for the RC #5 Mounted volumes !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":2,\"ch\":73},{\"line\":2,\"ch\":75}],[{\"line\":45,\"ch\":0},{\"line\":45,\"ch\":2}],[{\"line\":4,\"ch\":73},{\"line\":4,\"ch\":75}],[{\"line\":46,\"ch\":0},{\"line\":46,\"ch\":2}],[{\"line\":19,\"ch\":73},{\"line\":19,\"ch\":75}],[{\"line\":47,\"ch\":0},{\"line\":47,\"ch\":2}],[{\"line\":30,\"ch\":73},{\"line\":30,\"ch\":75}],[{\"line\":31,\"ch\":71},{\"line\":31,\"ch\":73}],[{\"line\":32,\"ch\":71},{\"line\":32,\"ch\":73}],[{\"line\":48,\"ch\":0},{\"line\":48,\"ch\":2}],[{\"line\":30,\"ch\":73},{\"line\":30,\"ch\":75}],[{\"line\":31,\"ch\":71},{\"line\":31,\"ch\":73}],[{\"line\":32,\"ch\":71},{\"line\":32,\"ch\":73}],[{\"line\":48,\"ch\":0},{\"line\":48,\"ch\":2}],[{\"line\":30,\"ch\":73},{\"line\":30,\"ch\":75}],[{\"line\":31,\"ch\":71},{\"line\":31,\"ch\":73}],[{\"line\":32,\"ch\":71},{\"line\":32,\"ch\":73}],[{\"line\":48,\"ch\":0},{\"line\":48,\"ch\":2}],[{\"line\":36,\"ch\":74},{\"line\":36,\"ch\":76}],[{\"line\":49,\"ch\":0},{\"line\":49,\"ch\":2}]]"} !@%STYLE%@!

The Ansible inventory for OpenShift contains information about your two hosts and specifies which roles each node will have in your cluster. If you’re using the IP addresses and hostnames we’re using in this appendix, you can download a prepared inventory to your master node from the OpenShift in Action organization on GitHub: