I believe, if Kubernetes components are installed manually then I need to configure the API server manually to integrate the parts to work. But minishift is single entity which should takecare of all the components and it is already running and service pods. correct me if my understanding is wrong so that I can check this with minishift forum.
$ oc get pods -n kube-system
NAME READY STATUS RESTARTS AGE
kube-controller-manager-localhost 1/1 Running 3 4d
kube-scheduler-localhost 1/1 Running 3 4d
master-api-localhost 1/1 Running 6 4d
master-etcd-localhost 1/1 Running 3 4d
$ oc describe pods master-api-localhost -n kube-system
Name: master-api-localhost
Namespace: kube-system
Priority: 0
PriorityClassName: <none>
Start Time: Fri, 03 Jan 2020 16:46:06 -0300
Status: Running
IP: 192.168.122.252
Containers:
api:
Container ID: docker://498106f601cd8466f378bce6c5460d7cc78784a3076ef957e5b159a7b2a35a33
Image: openshift/origin-hypershift:v3.11.0
Port: <none>
Host Port: <none>
Command:
/bin/bash
-c
Args:
#!/bin/bash
set -euo pipefail
if [[ -f /etc/origin/master/master.env ]]; then
set -o allexport
source /etc/origin/master/master.env
fi
exec hypershift openshift-kube-apiserver --config=/etc/origin/master/master-config.yaml
State: Running
Started: Tue, 07 Jan 2020 12:46:41 -0300
Last State: Terminated
Reason: Error
Exit Code: 2
Started: Mon, 06 Jan 2020 14:14:48 -0300
Finished: Tue, 07 Jan 2020 12:46:36 -0300
Ready: True
Restart Count: 6
Liveness: http-get https://:8443/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/origin/cloudprovider/ from master-cloud-provider (rw)
/etc/origin/master/ from master-config (rw)
/var/lib/origin/ from master-data (rw)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
master-config:
Type: HostPath (bare host directory volume)
Path: /var/lib/minishift/base/kube-apiserver
HostPathType:
master-cloud-provider:
Type: HostPath (bare host directory volume)
Path: /etc/origin/cloudprovider
HostPathType:
master-data:
Type: HostPath (bare host directory volume)
Path: /var/lib/origin
HostPathType:
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: :NoExecute
Events: <none>