-
Notifications
You must be signed in to change notification settings - Fork 640
Documentation update to support Operator 3.0 changes #11796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Documentation update to support Operator 3.0 changes #11796
Conversation
|
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
|
Thanks @synhershko will take a look. |
| - "data" | ||
| ``` | ||
|
|
||
| Then run `kubectl apply -f cluster.yaml`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Then run `kubectl apply -f cluster.yaml`: | |
| Then apply it: |
| {% include copy.html %} | ||
|
|
||
| Make sure that the repo is included in your Kubernetes cluster: | ||
| If you watch the cluster (for example, `watch -n 2 kubectl get pods`), you will see that after a few seconds the Operator will create several pods. First, a bootstrap pod will be created (`my-first-cluster-bootstrap-0`) that helps with initial master discovery. Then three pods for the OpenSearch cluster will be created (`my-first-cluster-nodes-0/1/2`), and one pod for the dashboards instance. After the pods are appearing as ready, which normally takes about 1-2 minutes, you can connect to your cluster using port-forwarding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| If you watch the cluster (for example, `watch -n 2 kubectl get pods`), you will see that after a few seconds the Operator will create several pods. First, a bootstrap pod will be created (`my-first-cluster-bootstrap-0`) that helps with initial master discovery. Then three pods for the OpenSearch cluster will be created (`my-first-cluster-nodes-0/1/2`), and one pod for the dashboards instance. After the pods are appearing as ready, which normally takes about 1-2 minutes, you can connect to your cluster using port-forwarding. | |
| If you watch the cluster (for example, `watch -n 2 kubectl get pods`), you will see that after a few seconds the Operator will create several pods. First, a bootstrap pod will be created (`my-first-cluster-bootstrap-0`) that helps with initial master discovery. Then three pods for the OpenSearch cluster will be created (`my-first-cluster-masters-0/1/2`), and one pod for the dashboards instance. After the pods are appearing as ready, which normally takes about 1-2 minutes, you can connect to your cluster using port-forwarding. |
| Make sure that the repo is included in your Kubernetes cluster: | ||
| If you watch the cluster (for example, `watch -n 2 kubectl get pods`), you will see that after a few seconds the Operator will create several pods. First, a bootstrap pod will be created (`my-first-cluster-bootstrap-0`) that helps with initial master discovery. Then three pods for the OpenSearch cluster will be created (`my-first-cluster-nodes-0/1/2`), and one pod for the dashboards instance. After the pods are appearing as ready, which normally takes about 1-2 minutes, you can connect to your cluster using port-forwarding. | ||
|
|
||
| Run `kubectl port-forward svc/my-first-cluster-dashboards 5601`, then open [http://localhost:5601](http://localhost:5601) in your browser and log in with the default demo credentials `admin / admin`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Run `kubectl port-forward svc/my-first-cluster-dashboards 5601`, then open [http://localhost:5601](http://localhost:5601) in your browser and log in with the default demo credentials `admin / admin`. | |
| Run `kubectl port-forward svc/my-first-cluster-dashboards 5601`, then open [http://localhost:5601](http://localhost:5601) in your browser and log in using dashboard user or admin user credential. You can get them from `my-first-cluster-admin-password` and `my-first-cluster-dashboards-password` secrets. |
| Then open a second terminal and run: | ||
|
|
||
| ```bash | ||
| curl -k -u admin:admin https://localhost:9200/_cat/nodes?v | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Then open a second terminal and run: | |
| ```bash | |
| curl -k -u admin:admin https://localhost:9200/_cat/nodes?v | |
| ``` | |
| Then open a second terminal and run the following command. You can get the admin credential from `my-first-cluster-admin-password` secrets. | |
| ```bash | |
| curl -k -u admin:admin_password https://localhost:9200/_cat/nodes?v |
|
@synhershko Could you also fix DCO? |
e2cd774 to
cf859c6
Compare
Signed-off-by: josedev-union <josebarato321@gmail.com>
cf859c6 to
205ed4a
Compare
|
@synhershko Please let me know when you're finished addressing technical comments, and we'll move the PR to doc review and then editorial review. Thanks! |
No description provided.