This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>oc -n openshift-operators get subscription elasticsearch-9bgsr -o yaml | |
apiVersion: operators.coreos.com/v1alpha1 | |
kind: Subscription | |
metadata: | |
creationTimestamp: 2019-03-05T18:40:28Z | |
generateName: elasticsearch- | |
generation: 1 | |
name: elasticsearch-9bgsr | |
namespace: openshift-operators | |
resourceVersion: "62004" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc get deploy | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
cluster-logging-operator 1/1 1 1 41m | |
elasticsearch-clientdatamaster-0-1 1/1 0 1 40m | |
kibana | |
$ oc get deploy/elasticsearch-clientdatamaster-0-1 -o yaml | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc get catalogsource cluster-logging -o yaml | |
apiVersion: operators.coreos.com/v1alpha1 | |
kind: CatalogSource | |
metadata: | |
creationTimestamp: 2019-03-28T23:50:44Z | |
generation: 1 | |
labels: | |
csc-owner-name: cluster-logging | |
csc-owner-namespace: openshift-marketplace | |
name: cluster-logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc -n openshift-marketplace get pods cluster-logging-66846d4f96-qhpqz -o yaml | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
annotations: | |
k8s.v1.cni.cncf.io/networks-status: |- | |
[{ | |
"name": "openshift-sdn", | |
"interface": "eth0", | |
"ips": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E0328 23:50:45.735510 1 queueinformer_operator.go:177] Sync "openshift-logging" failed: {cluster-logging preview {cluster-logging openshift-logging}} not found: CatalogSource {cluster-logging openshift-logging} not found | |
time="2019-03-28T23:50:45Z" level=info msg="building connection to registry" currentSource="{cluster-logging openshift-logging}" id=x9c9j source=cluster-loggin | |
time="2019-03-28T23:50:45Z" level=info msg="client hasn't yet become healthy, attempt a health check" currentSource="{cluster-logging openshift-logging}" id=x9c9j source=cluster-logging | |
E0328 23:50:47.403089 1 queueinformer_operator.go:177] Sync "openshift-logging" failed: {cluster-logging preview {cluster-logging openshift-logging}} not found: CatalogSource {cluster-logging openshift-logging} not found | |
E0328 23:51:05.127228 1 queueinformer_operator.go:177] Sync "openshift-logging" failed: {cluster-logging preview {cluster-logging openshift-logging}} not found: CatalogSource {cluster-logging openshift-logging} not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After moving the elasticsearch-operator to the namespace openshift-operators-redhat, the elasticsearch-operator deployment is not created in that namespace. Steps: https://github.com/richm/origin-aggregated-logging/commit/2b2a57ba7dc7c19a8466d327fc92120302018814 | |
Create namespace openshift-operators-redhat | |
Create operatorgroup openshift-operators-redhat in that namespace with targetNamespace openshift-logging | |
Create namespace openshift-logging | |
Create operatorgroup openshift-logging in that namespace with targetNamespace openshift-logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: operators.coreos.com/v1 | |
kind: OperatorSource | |
metadata: | |
creationTimestamp: 2019-05-16T21:51:14Z | |
finalizers: | |
- finalizer.operatorsources.operators.coreos.com | |
generation: 4 | |
name: art-applications | |
namespace: openshift-marketplace | |
resourceVersion: "56863" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: marketplacesecret | |
namespace: openshift-marketplace | |
type: Opaque | |
stringData: | |
token: "basic xxxxxxxxxxxxxxxxxxxxxxxxx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
volumes: | |
hostPath: | |
path: /var/lib/elasticsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make a working directory for holding your copies of various configmaps used by Fluentd. You will use this directory for subsequent steps below. The steps below assume the current directory is this directory: | |
mkdir working_dir | |
cd working_dir | |
Make sure you are in the logging project. This will be openshift-logging: | |
oc project openshift-logging | |
Make a copy of the current logging-fluentd configmap: |