Code Monkey home page Code Monkey logo

openshift-docs's Introduction

OpenShift documentation

All OpenShift documentation is sourced in AsciiDoc and transformed into HTML/CSS and other formats through automation that is based on AsciiDoctor.

The documentation published from these source files can be viewed at https://docs.openshift.com.

Contributing to OpenShift documentation

If you are interested in contributing to OpenShift technical documentation, you can view all our resources that will help you get set up and provide more information.

The following table provides quick links to help you get started.

Question Link

I’m interested, how do I contribute?

See the contributing topic to learn more about this repository and how you can contribute.

Are there any basic guidelines to help me?

The documentation guidelines topic provides some basic guidelines to help us keep our content consistent, and includes other style information.

How do I set up my workstation?

See the tools and setup topic to set up your workstation.

How do I edit an existing topic, or create new content?

See the create or edit content topic to get started.

Contacts

For questions or comments about OpenShift documentation:

openshift-docs's People

Contributors

abrennan89 avatar adellape avatar ahardin-rh avatar aireilly avatar apinnick avatar bburt-rh avatar bergerhoffer avatar bmcelvee avatar bscott-rh avatar codyhoag avatar ericponvelle avatar jab-rh avatar jboxman avatar jeana-redhat avatar jstickler avatar kalexand-rh avatar maxwelldb avatar mburke5678 avatar michaelryanpeter avatar mjpytlak avatar ousleyp avatar pneedle-rh avatar rolfedh avatar shaunadiaz avatar sheriff-rh avatar sjhala-ccs avatar skrthomas avatar stevsmit avatar vikram-redhat avatar xenolinux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openshift-docs's Issues

The internal link of "Declarative definition" is ponting to wrong URL

The section of Usage and Environment variables in the MySQL and PostgreSQL should be consistent with MongoDB

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/openshift_images/postgresql.html#settings
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/openshift_images/mysql.html#environment-variables
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/openshift_images/mongodb.html#usage

MySQL, PostgreSQL

  • No tables for Environment variables, Volumes and Settings
  • No explanation of Environment variables like:
 The image recognizes following environment variables that you can set during initialization, by passing -e VAR=VALUE to the Docker run command.

MongoDB

  • What is "Table 1. Repository Organization" ? It means "Table 1.Environment variables" ?
  • "Running images" is correct meaning (?)
  • etc...

Mentioned unnecessary packages to install

In Host Preparation says:

2. Install the following packages:

# yum install wget git vim-enhanced net-tools bind-utils \
tmux iptables-services bridge-utils

tmux, vim-enhanced and some packages are not mandatory. We should write mandatory packages only

"microservices"

In reference to: https://github.com/openshift/openshift-docs/blame/master/architecture/overview.adoc#L17

If Openshift is a monolithically compiled "fork" of Kubernetes where everything runs in a "single" OpenShift process, how is it a "set of microservices"?

Running OpenShift "on top of" Kubernetes has the implication of:

  1. start kuberenetes
  2. start OpenShift on the same server

Running OpenShift "alongside" Kubernetes has the implication of:

  1. Start OpenShift pointed at an existing Kubernetes cluster

I know there are plans for the second scenario in the long-run, but I don't really understand the "set of microservices" part at all.

Does yum clean all need -y option?

Doc: https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/image_writers_guide/guidelines.html#general-docker-guidelines

This is very very tiny thing. But I believe yum clean all doen't need -y(yes) option. Many users will create Dockerfile with reference to this doc, so please make it clear.

_Current_

RUN yum -y install mypackage && yum -y install myotherpackage && yum clean all -y

_TOBE_

RUN yum -y install mypackage && yum -y install myotherpackage && yum clean all

document deploymentConfig hostPort

We are missing documentation on hostPort in the deploymentConfig docs. Not sure what other attributes are missing as well but we should cover all of them even if they are seldom used.

RFE - Requesting documentation on the OpenShift build process

The current builder documentation appears to be here instead of included in the openshift-docs repo that is then published to users here.

Also, I wanted to request some clarification on the builder process documentation here as it currently sounds as thought the user code ends up in a builder container with access to the docker socket, however I was explained to on irc that this is not the case and instead the OpenShift docker-builder container has access to the docker socket so that it may spawn the container in which the user code is actually run/built in.

Lots of broken urls after doc restructure

Looks like we may need to revert. The current content doesn't look ready.

Including a link to the contributor guidelines might be better than adding empty pages (if the goal is to restructure the docs, and content isn't ready)

Document logoutURL

When using requestheader and oauth/openid providers, it is often desired to specify an external logout url to direct users to on logout to destroy their SSO sessions.

This option is located in the master config file:

assetConfig:
  logoutURL: "..."

If specified, the web console will direct the user to the logoutURL on logout.

Two en dashes turn into an em dash in sidebars

In sidebar blocks, two en dashes (when followed immediately by a space) turn into an em dash in the final build. I've observed this in local builds, at least. For example:

****
`$ osc exec -p _<pod>_ -- _<command>_`
****

When rendered, -- in the above turns into a  — . This is potentially confusing at a glance, and problematic if trying to copy/paste something.

@CowboysFan PTAL.

Long line with inline formats is cut off in the middle

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/using_openshift/cli.html#project-cli-operations

I know this may not documentation bug, but Long line with inline formats is cut off in the middle...
For example, I cannot see the whole line of
openshift ex new-project test --display-name="OpenShift 3 Sample" --description="This is an example project to demonstrate OpenShift v3" --admin=anypassword:test-admin
in my display with default font size.

But please feel free to close this report, if you don't think it is not a big problem.

Unnecessary underline (probably typo)

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/using_openshift/cli.html#project-cli-operations

_<project-name> has a underline prefix. Is it necessary or just a typo?

The simplest way to create a new project is: openshift ex new-project _<project-name> --display-name=<display-name> --description=<description> --admin=<admin-username>

I checked command help, but there is no underline.

$ _output/local/go/bin/openshift ex --help |grep new-project
  new-project <project-name>           create a new project

core pod definition docs don't describe how limitranges are applied to pod at json level

http://docs.openshift.org/latest/architecture/core_objects/kubernetes_model.html#pod

This pod documentation mentions resource limits, but then links to upstream docs.

The pod example JSON doesn't include any resource limits.

http://docs.openshift.org/latest/dev_guide/limits.html

This doc describes limits and provides an example but doesn't indicate where it can be used.

https://github.com/openshift/training/blob/beta4/beta4/hello-pod.json#L24

This example from the beta training shows a limit range being applied to the pod.

Brush up docker and iptables start procedure

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/getting_started/setup.html#host-preparation

_CURRENT_

After docker start in No4, docker start No.7 again. And No7 says "Restart" iptables, but the doc has not started iptables...

4. Enable and start the Docker service:

# systemctl enable docker
# systemctl start docker
7. Restart the iptables and docker services:

# systemctl restart iptables
# systemctl restart docker

_TOBE_

4. Enable the Docker service:

# systemctl enable docker
7. Start the iptables and docker services:

# systemctl start iptables docker

policyConfig.openshiftInfrastructureNamespace addition to master config

https://github.com/openshift/origin/pull/2777/files#diff-381e09db7a55a712234f2c2413f7d987 adds a configurable namespace used to hold infrastructure components. Currently, those consist of the service accounts used to run build controllers, replication controllers, and deployment controllers.

The option appears in the master config file under the policyConfig stanza:

policyConfig:
  bootstrapPolicyFile: ""
  openshiftInfrastructureNamespace: ""
  openshiftSharedResourcesNamespace: ""
...

If unspecified, the default value is "openshift-infra"

Currently, three privileged service accounts are created in the namespace on server start:

  • build-controller, granted the system:build-controller role cluster-wide
  • deployment-controller, granted the system:deployment-controller role cluster-wide
  • replication-controller, granted the system:replication-controller role cluster-wide

These service accounts are used to run the corresponding controllers, and their usernames (e.g. system:serviceaccount:openshift-infra:build-controller) can be referenced in policy and/or security context constraints.

No explanation of ports OpenShift uses

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/getting_started/setup.html#host-preparation

The doc says we open following ports, but there are no explanation what these ports are used for.

Add these rules:

 -A INPUT -p tcp -m state --state NEW -m tcp --dport 10250 -j ACCEPT
 -A INPUT -p tcp -m state --state NEW -m tcp --dport 8443:8444 -j ACCEPT
 -A INPUT -p tcp -m state --state NEW -m tcp --dport 7001 -j ACCEPT
 -A INPUT -p tcp -m state --state NEW -m tcp --dport 4001 -j ACCEPT
 -A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
 -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

Wrong postgres version is set for postgresql image build

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/openshift_images/postgresql.html#rhel-7-base-image
and
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/openshift_images/postgresql.html#centos-7-base-image

_current_

$ git clone https://github.com/openshift/postgresql.git
$ cd postgresql
$ make build TARGET=rhel7 VERSION=5.5
$ git clone https://github.com/openshift/postgresql.git
$ cd postgresql
$ make build VERSION=5.5

_TOBE_

$ git clone https://github.com/openshift/postgresql.git
$ cd postgresql
$ make build TARGET=rhel7 VERSION=9.2
$ git clone https://github.com/openshift/postgresql.git
$ cd postgresql
$ make build VERSION=9.2

Don't run docker with sudo

Doc:
https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/getting_started/installation.html#running-in-a-docker-container

_Current_

$ sudo docker run -d --name "openshift-origin" --net=host --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/openshift:/tmp/openshift \
openshift/origin start
$ sudo docker exec -it openshift-origin bash

_TOBE_

$ docker run -d --name "openshift-origin" --net=host --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/openshift:/tmp/openshift \
openshift/origin start
$ docker exec -it openshift-origin bash

FYI:
Upstream README also isn't using sudo https://github.com/openshift/origin#getting-started

routingConfig.subdomain config option

openshift/origin#3173 adds a "routingConfig" stanza to master-config.yaml:

subdomain is the suffix appended to $service.$namespace. to form the default route hostname

routingConfig:
  subdomain: router.default.svc.cluster.local

If omitted, a subdomain of "router.default.svc.cluster.local" is used

Few images

Looking at sections like Architecture Overview, it's very verbose. No graphics to layout the architecture, where you could click on the architecture you want to learn on and get a short/long description.

Incorrect docker registry subnet?

When upgrading from 0.4.3 to 0.4.4 i noticed that the value of servicesSubnet changed from 172.30.17.0/24 to 172.30.0.0/16. However getting_started/dev_get_started/setup.adoc suggests setting the docker insecure registry to the former value.

openshift/origin#1742 might be related.

Fix any trailing commas

As mentioned in #414, trailing commas cause problems. They used to be OK, so there may be some additional spots in the docs to find and update.

Document kubernetes API (JSON/YAML)

To deploy a project on Openshift, it is required to design a YAML or JSON Kubernetes "template" file based on that API - https://godoc.org/github.com/GoogleCloudPlatform/kubernetes/pkg/api

As this is our responsibility to tell to our clients/end users how to create or generate such a file, that could be interesting that we develop a document explaining the different fields/tags, type, default value, if the field is optional or mandatory like a DTD or XSD file does file XML parsing/validation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.