in Technology by
How to turn the service defined below in the spec into an external one?

1 Answer

0 votes
by

spec:
  selector:
    app: some-app
  ports:
    - protocol: UDP
      port: 8080
      targetPort: 8080

Explanation - 

Adding type: LoadBalancer and nodePort as follows:

spec:
 selector:
   app: some-app
 type: LoadBalancer
 ports:
   - protocol: UDP
     port: 8080
     targetPort: 8080
     nodePort: 32412

Related questions

0 votes
    Which of these is not a Service Spec? (1)ClusterIP (2)PodIP (3)ExternalName (4)NodePort...
asked Sep 19, 2021 in Education by JackTerrance
0 votes
    Which of the following technique/techniques is/are used by Einstein on Data to turn them into insights? A. Automate B. Recommend C. Discover D. Predict E. All the options...
asked Nov 1, 2022 in Education by JackTerrance
0 votes
    I am a beginner and I just need a bit of help on why I getline is showing an error: this is what I have so far ... payments[MAX_ITEMS]; ifstream iFile; if ( argc != 2 ) { cout...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I am a beginner and I just need a bit of help on why I getline is showing an error: this is what I have so far ... payments[MAX_ITEMS]; ifstream iFile; if ( argc != 2 ) { cout...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    How many callouts to external service can be made in a single Apex transaction?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    What are you going to do if there is no Functional Spec or any documents related to the system and developer who wrote ... company anymore, but you have a system and need to test?...
asked Oct 17, 2020 in Technology by JackTerrance
0 votes
    Using sstableloader external data cannot be loaded into the cluster (1)False (2)True...
asked May 7, 2021 in Technology by JackTerrance
0 votes
    I have some divs like: next and the script in another page link.htm: Slide I want to load link. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 28, 2022 in Education by JackTerrance
0 votes
    . In ___________ attack, malicious code is pushed into _______. 1.buffer-overflow, stack 2.buffer-overflow, queue 3.buffer ... !!!!!!! Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Using sstableloader external data cannot be loaded into the cluster (1)False (2)True...
asked Apr 16, 2021 by JackTerrance
0 votes
    How to turn off CRSF protection for specific route in Laravel?...
asked Sep 30, 2021 in Technology by JackTerrance
0 votes
    What are the benefit of storing JARS/external dependencies in the local repository instead of a remote one?...
asked May 4, 2021 in Technology by Editorial Staff
0 votes
    If you had enabled a Conditional Access Policy for External Users using multi-factor authentication, and then also ... users, would they trigger both when accessing content?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    Sometimes the side of concrete bridges is observed to turn black in colour. What is the reason for this phenomenon?...
asked Jan 1, 2021 in Technology by JackTerrance
...