Skip to content

Commit

Permalink
add jaeger operator wait duration
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
  • Loading branch information
hlts2 committed Jul 10, 2023
1 parent 7383a5d commit 1164003
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.d/k8s.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

JAEGER_OPERATOR_WAIT_DURATION := 0

.PHONY: k8s/manifest/clean
## clean k8s manifests
k8s/manifest/clean:
Expand Down Expand Up @@ -227,7 +230,7 @@ k8s/metrics/jaeger/deploy:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
helm install jaeger jaegertracing/jaeger-operator --version $(JAEGER_OPERATOR_VERSION)
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=jaeger-operator --timeout=60s
kubectl wait --for=condition=available deployment/jaeger-jaeger-operator --timeout=60s
sleep $(JAEGER_OPERATOR_WAIT_DURATION)
kubectl apply -f k8s/metrics/jaeger/jaeger.yaml

.PHONY: k8s/metrics/jaeger/delete
Expand Down

0 comments on commit 1164003

Please sign in to comment.