You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mrunalp With --server=http://localhost:8080it works.
Side note; when I tried to use -s http://localhost:8080 - it does not work, I get this:
$ openshift cli -s http://localhost:8080 get pods
OpenShift Client
The OpenShift client exposes commands for managing your applications, as well as lower level
tools to interact with each component of your system.
At the present time, the CLI wraps many of the upstream Kubernetes commands and works generically
on all resources. Some commands you can try:
$ cli get pods
Note: This is an alpha release of OpenShift and will change significantly. See
https://github.com/openshift/origin for the latest information on OpenShift.
Usage:
openshift cli [flags]
openshift cli [command]
Aliases:
cli, kubectl
Available Commands:
get [(-o|--output=)json|yaml|...] <resource> [<id>] Display one or many resources
describe <resource> <id> Show details of a specific resource
create -f filename Create a resource by filename or stdin
update -f filename Update a resource by filename or stdin
delete ([-f filename] | (<resource> [(<id> | -l <label>)] Delete a resource by filename, stdin or resource and id
namespace [<namespace>] Set and view the current Kubernetes namespace
log [-f] <pod> [<container>] Print the logs for a container in a pod.
proxy Run a proxy to the Kubernetes API server
apply -f filename Perform bulk create operation on set of resources
process -f filename Process template into config
build-logs <build> Show container logs from the build container
start-build (<buildConfig>|--from-build=<build>) Starts a new build from existing build or buildConfig
cancel-build <build> Cancel a pending or running build.
Available Flags:
--alsologtostderr=false: log to standard error as well as files
--api-version="": The API version to use when talking to the server
-a, --auth-path="": Path to the auth info file. If missing, prompt the user. Only used if using https.
--certificate-authority="": Path to a cert. file for the certificate authority.
--client-certificate="": Path to a client key file for TLS.
--client-key="": Path to a client key file for TLS.
--cluster="": The name of the kubeconfig cluster to use
--context="": The name of the kubeconfig context to use
-h, --help=false: help for cli
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
--kubeconfig="": Path to the kubeconfig file to use for CLI requests.
--log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
--log_dir=: If non-empty, write log files in this directory
--log_flush_frequency=5s: Maximum number of seconds between log flushes
--loglevel=0: Set the level of log output (0-5)
--logtostderr=true: log to standard error instead of files
--match-server-version=false: Require server version to match client version
-n, --namespace="": If present, the namespace scope for this CLI request.
--ns-path="/home/vagrant/.kubernetes_ns": Path to the namespace info file that holds the namespace context to use for CLI requests.
-s, --server="": The address of the Kubernetes API server
--stderrthreshold=2: logs at or above this threshold go to stderr
--token="": Bearer token for authentication to the API server.
--user="": The name of the kubeconfig user to use
--v=0: log level for V logs
--validate=false: If true, use a schema to validate the input before sending it
--vmodule=: comma-separated list of pattern=N settings for file-filtered logging
Additional help topics:
openshift start Launch OpenShift
openshift kube DEPRECATED, use 'cli' instead
openshift cli Client tools for OpenShift
openshift version Display version
openshift help Help about any command
Use "openshift help [command]" for more information about that command.
Activity
goldmann commentedon Feb 3, 2015
As a note - the
openshift cli get podscommand was executed on master.@mfojtik: we talked about this
@rajatchopra: I tried the fix for #712
mrunalp commentedon Feb 3, 2015
@goldmann Could you try with --server=http://localhost:8080 ? We need to fix it.
goldmann commentedon Feb 3, 2015
@mrunalp I'll check this early in the morning and get back to you.
mrunalp commentedon Feb 4, 2015
@goldmann Thanks. I am working on a fix for the cli ports/certs issue and will update this issue when I have a PR.
goldmann commentedon Feb 4, 2015
@mrunalp With
--server=http://localhost:8080it works.Side note; when I tried to use
-s http://localhost:8080- it does not work, I get this:mrunalp commentedon Feb 4, 2015
Testing the fix right now. Expect to send a PR soon.